From e5b4ad1d37e5b097b3abe0fde13e3ac886a11128 Mon Sep 17 00:00:00 2001 From: Chengzhong Wu Date: Wed, 8 Nov 2023 10:45:21 +0800 Subject: [PATCH 1/2] chore: type reference on zone.js --- .../src/ZoneContextManager.ts | 1 + packages/opentelemetry-context-zone-peer-dep/tsconfig.esm.json | 3 --- .../opentelemetry-context-zone-peer-dep/tsconfig.esnext.json | 3 --- packages/opentelemetry-context-zone-peer-dep/tsconfig.json | 3 --- 4 files changed, 1 insertion(+), 9 deletions(-) diff --git a/packages/opentelemetry-context-zone-peer-dep/src/ZoneContextManager.ts b/packages/opentelemetry-context-zone-peer-dep/src/ZoneContextManager.ts index 3f5c8c71c8..81042ac652 100644 --- a/packages/opentelemetry-context-zone-peer-dep/src/ZoneContextManager.ts +++ b/packages/opentelemetry-context-zone-peer-dep/src/ZoneContextManager.ts @@ -14,6 +14,7 @@ * limitations under the License. */ +/// import { Context, ContextManager, ROOT_CONTEXT } from '@opentelemetry/api'; import { TargetWithEvents } from './types'; import { isListenerObject } from './util'; diff --git a/packages/opentelemetry-context-zone-peer-dep/tsconfig.esm.json b/packages/opentelemetry-context-zone-peer-dep/tsconfig.esm.json index 971caf60aa..9d9e733405 100644 --- a/packages/opentelemetry-context-zone-peer-dep/tsconfig.esm.json +++ b/packages/opentelemetry-context-zone-peer-dep/tsconfig.esm.json @@ -5,9 +5,6 @@ "rootDir": "src", "tsBuildInfoFile": "build/esm/tsconfig.esm.tsbuildinfo" }, - "files": [ - "node_modules/zone.js/dist/zone.js.d.ts" - ], "include": [ "src/**/*.ts" ], diff --git a/packages/opentelemetry-context-zone-peer-dep/tsconfig.esnext.json b/packages/opentelemetry-context-zone-peer-dep/tsconfig.esnext.json index ff768ce18a..9f2935984e 100644 --- a/packages/opentelemetry-context-zone-peer-dep/tsconfig.esnext.json +++ b/packages/opentelemetry-context-zone-peer-dep/tsconfig.esnext.json @@ -5,9 +5,6 @@ "rootDir": "src", "tsBuildInfoFile": "build/esnext/tsconfig.esnext.tsbuildinfo" }, - "files": [ - "node_modules/zone.js/dist/zone.js.d.ts" - ], "include": [ "src/**/*.ts" ], diff --git a/packages/opentelemetry-context-zone-peer-dep/tsconfig.json b/packages/opentelemetry-context-zone-peer-dep/tsconfig.json index a4adfa3f7f..7e466ec926 100644 --- a/packages/opentelemetry-context-zone-peer-dep/tsconfig.json +++ b/packages/opentelemetry-context-zone-peer-dep/tsconfig.json @@ -4,9 +4,6 @@ "outDir": "build", "rootDir": "." }, - "files": [ - "node_modules/zone.js/dist/zone.js.d.ts" - ], "include": [ "src/**/*.ts", "test/**/*.ts" From 039ee6dde409078817b210201ea201cc135cf4e5 Mon Sep 17 00:00:00 2001 From: Chengzhong Wu Date: Wed, 8 Nov 2023 16:45:35 +0800 Subject: [PATCH 2/2] fixup! add a changelog entry --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb8571e31d..b414c6e5a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ ### :house: (Internal) +* chore: type reference on zone.js [#4257](https://github.com/open-telemetry/opentelemetry-js/pull/4257) @legendecas + ## 1.18.0 ### :rocket: (Enhancement)