From 1225cc02a3bef82423fa542db11efdb0f165e923 Mon Sep 17 00:00:00 2001 From: Rauno Viskus Date: Tue, 17 May 2022 14:36:49 +0300 Subject: [PATCH] fix: keep `typeof Router` in non-public API --- .../opentelemetry-instrumentation-router/src/instrumentation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/node/opentelemetry-instrumentation-router/src/instrumentation.ts b/plugins/node/opentelemetry-instrumentation-router/src/instrumentation.ts index 23ee0927ff..125f2e28a8 100644 --- a/plugins/node/opentelemetry-instrumentation-router/src/instrumentation.ts +++ b/plugins/node/opentelemetry-instrumentation-router/src/instrumentation.ts @@ -60,7 +60,7 @@ export default class RouterInstrumentation extends InstrumentationBase { ); module.files.push( - new InstrumentationNodeModuleFile( + new InstrumentationNodeModuleFile( 'router/lib/layer.js', constants.SUPPORTED_VERSIONS, (moduleExports, moduleVersion) => {