diff --git a/.github/workflows/analysis-of-endpoint-connections.yml b/.github/workflows/analysis-of-endpoint-connections.yml index 1d72169d7be1..4831467c7d05 100644 --- a/.github/workflows/analysis-of-endpoint-connections.yml +++ b/.github/workflows/analysis-of-endpoint-connections.yml @@ -34,6 +34,7 @@ jobs: cd supporting_scripts/analysis-of-endpoint-connections/src/main/typeScript/ npm install npm install --save-dev @types/node + npm install --save typescript undici-types - name: Install and compile TypeScript run: | diff --git a/supporting_scripts/analysis-of-endpoint-connections/src/main/typeScript/tsconfig.analysisOfEndpointConnections.json b/supporting_scripts/analysis-of-endpoint-connections/src/main/typeScript/tsconfig.analysisOfEndpointConnections.json index 6e8aee416d8d..b05ab3c78bf6 100644 --- a/supporting_scripts/analysis-of-endpoint-connections/src/main/typeScript/tsconfig.analysisOfEndpointConnections.json +++ b/supporting_scripts/analysis-of-endpoint-connections/src/main/typeScript/tsconfig.analysisOfEndpointConnections.json @@ -7,11 +7,12 @@ //} { - "compilerOptions": { - "module": "es2020", - "target": "es2022", - "lib": ["es2022", "dom"], - "types": ["node"] - }, - "include": ["AnalysisOfEndpointConnectionsClient.ts"] + "compilerOptions": { + "module": "es2020", + "target": "es2022", + "lib": ["es2022", "dom"], + "types": ["node"], + "moduleResolution": "node" + }, + "include": ["AnalysisOfEndpointConnectionsClient.ts"] }