Skip to content

Commit de50920

Browse files
authored
Export enum correctly
KoaLayerType is an enum. It was erroneously exported as a type causing errors on in Koa setups
1 parent 2317e2f commit de50920

File tree

1 file changed

+2
-2
lines changed
  • plugins/node/opentelemetry-instrumentation-koa/src

1 file changed

+2
-2
lines changed

plugins/node/opentelemetry-instrumentation-koa/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

1717
export { KoaInstrumentation } from './instrumentation';
1818
export { AttributeNames } from './enums/AttributeNames';
19+
export { KoaLayerType } from './types';
1920
export type {
20-
KoaInstrumentationConfig,
21-
KoaLayerType,
21+
KoaInstrumentationConfig,
2222
KoaRequestCustomAttributeFunction,
2323
KoaRequestInfo,
2424
} from './types';

0 commit comments

Comments
 (0)