Skip to content

Commit

Permalink
fix(instrumentation): allow different export types for files within a…
Browse files Browse the repository at this point in the history
… Node module

Signed-off-by: Andrew Haines <[email protected]>
  • Loading branch information
haines committed Jan 9, 2024
1 parent ae0a3c5 commit 41fb74f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions experimental/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ All notable changes to experimental packages in this project will be documented
* fix(instrumentation): use caret range on import-in-the-middle [#4380](https://github.com/open-telemetry/opentelemetry-js/pull/4380) @pichlermarc
* fix(instrumentation): do not import 'path' in browser runtimes [#4378](https://github.com/open-telemetry/opentelemetry-js/pull/4378) @pichlermarc
* Fixes a bug where bundling for web would fail due to `InstrumentationNodeModuleDefinition` importing `path`
* fix(instrumentation): allow different export types for files within a Node module [#4046](https://github.com/open-telemetry/opentelemetry-js/pull/4046) @haines

### :books: (Refine Doc)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
export class InstrumentationNodeModuleDefinition<T>
implements InstrumentationModuleDefinition<T>
{
files: InstrumentationModuleFile<T>[];
files: InstrumentationModuleFile<any>[];
constructor(
public name: string,
public supportedVersions: string[],
Expand Down

0 comments on commit 41fb74f

Please sign in to comment.