Skip to content

Commit

Permalink
fix: keep typeof Router in non-public API
Browse files Browse the repository at this point in the history
  • Loading branch information
rauno56 committed Jun 22, 2022
1 parent 50ae83c commit 1225cc0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default class RouterInstrumentation extends InstrumentationBase<any> {
);

module.files.push(
new InstrumentationNodeModuleFile<any>(
new InstrumentationNodeModuleFile<typeof Router>(
'router/lib/layer.js',
constants.SUPPORTED_VERSIONS,
(moduleExports, moduleVersion) => {
Expand Down

0 comments on commit 1225cc0

Please sign in to comment.