Skip to content

Commit 26c808e

Browse files
committed
refactor(exporter-logs-otlp-grpc): fix eslint warning
``` /home/runner/work/opentelemetry-js/opentelemetry-js/experimental/packages/exporter-logs-otlp-grpc/src/index.ts 20:1 warning Using 'ExportAllDeclaration' is not allowed no-restricted-syntax ``` The comment say we should do this before the next "major" (minor since we are pre-1.0?) version, which means this is the right time to do it. However, I'm not sure if there is a real need/reason for that. As far as I can tell, this is still exporting exactly the same items and shouldn't cause any breakages? Ref open-telemetry#5365
1 parent 9239215 commit 26c808e

File tree

1 file changed

+1
-1
lines changed
  • experimental/packages/exporter-logs-otlp-grpc/src

1 file changed

+1
-1
lines changed

experimental/packages/exporter-logs-otlp-grpc/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
/* eslint no-restricted-syntax: ["warn", "ExportAllDeclaration"] --
1818
* TODO: Replace wildcard export with named exports before next major version
1919
*/
20-
export * from './OTLPLogExporter';
20+
export { OTLPLogExporter } from './OTLPLogExporter';

0 commit comments

Comments
 (0)