From af1055b05f5f679b37dcaf517d07a8de7c263b00 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 29 Aug 2023 02:20:08 +0200 Subject: [PATCH] build(examples): fix TS configuration for 5.2.x MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- examples/typescript/http-client-pool/tsconfig.json | 2 +- .../typescript/http-server-pool/express-cluster/tsconfig.json | 2 +- .../typescript/http-server-pool/express-hybrid/tsconfig.json | 2 +- .../http-server-pool/express-worker_threads/tsconfig.json | 2 +- .../typescript/http-server-pool/fastify-cluster/tsconfig.json | 2 +- .../typescript/http-server-pool/fastify-hybrid/tsconfig.json | 2 +- .../http-server-pool/fastify-worker_threads/tsconfig.json | 2 +- examples/typescript/smtp-client-pool/tsconfig.json | 2 +- .../typescript/websocket-server-pool/ws-cluster/tsconfig.json | 2 +- .../typescript/websocket-server-pool/ws-hybrid/tsconfig.json | 2 +- .../websocket-server-pool/ws-worker_threads/tsconfig.json | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/examples/typescript/http-client-pool/tsconfig.json b/examples/typescript/http-client-pool/tsconfig.json index 57e49a1c..19c730cb 100644 --- a/examples/typescript/http-client-pool/tsconfig.json +++ b/examples/typescript/http-client-pool/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", diff --git a/examples/typescript/http-server-pool/express-cluster/tsconfig.json b/examples/typescript/http-server-pool/express-cluster/tsconfig.json index 57e49a1c..19c730cb 100644 --- a/examples/typescript/http-server-pool/express-cluster/tsconfig.json +++ b/examples/typescript/http-server-pool/express-cluster/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", diff --git a/examples/typescript/http-server-pool/express-hybrid/tsconfig.json b/examples/typescript/http-server-pool/express-hybrid/tsconfig.json index 57e49a1c..19c730cb 100644 --- a/examples/typescript/http-server-pool/express-hybrid/tsconfig.json +++ b/examples/typescript/http-server-pool/express-hybrid/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", diff --git a/examples/typescript/http-server-pool/express-worker_threads/tsconfig.json b/examples/typescript/http-server-pool/express-worker_threads/tsconfig.json index 57e49a1c..19c730cb 100644 --- a/examples/typescript/http-server-pool/express-worker_threads/tsconfig.json +++ b/examples/typescript/http-server-pool/express-worker_threads/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", diff --git a/examples/typescript/http-server-pool/fastify-cluster/tsconfig.json b/examples/typescript/http-server-pool/fastify-cluster/tsconfig.json index 57e49a1c..19c730cb 100644 --- a/examples/typescript/http-server-pool/fastify-cluster/tsconfig.json +++ b/examples/typescript/http-server-pool/fastify-cluster/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", diff --git a/examples/typescript/http-server-pool/fastify-hybrid/tsconfig.json b/examples/typescript/http-server-pool/fastify-hybrid/tsconfig.json index 963a067f..d688c5ce 100644 --- a/examples/typescript/http-server-pool/fastify-hybrid/tsconfig.json +++ b/examples/typescript/http-server-pool/fastify-hybrid/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", diff --git a/examples/typescript/http-server-pool/fastify-worker_threads/tsconfig.json b/examples/typescript/http-server-pool/fastify-worker_threads/tsconfig.json index 963a067f..d688c5ce 100644 --- a/examples/typescript/http-server-pool/fastify-worker_threads/tsconfig.json +++ b/examples/typescript/http-server-pool/fastify-worker_threads/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", diff --git a/examples/typescript/smtp-client-pool/tsconfig.json b/examples/typescript/smtp-client-pool/tsconfig.json index 57e49a1c..19c730cb 100644 --- a/examples/typescript/smtp-client-pool/tsconfig.json +++ b/examples/typescript/smtp-client-pool/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", diff --git a/examples/typescript/websocket-server-pool/ws-cluster/tsconfig.json b/examples/typescript/websocket-server-pool/ws-cluster/tsconfig.json index 57e49a1c..19c730cb 100644 --- a/examples/typescript/websocket-server-pool/ws-cluster/tsconfig.json +++ b/examples/typescript/websocket-server-pool/ws-cluster/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", diff --git a/examples/typescript/websocket-server-pool/ws-hybrid/tsconfig.json b/examples/typescript/websocket-server-pool/ws-hybrid/tsconfig.json index 57e49a1c..19c730cb 100644 --- a/examples/typescript/websocket-server-pool/ws-hybrid/tsconfig.json +++ b/examples/typescript/websocket-server-pool/ws-hybrid/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", diff --git a/examples/typescript/websocket-server-pool/ws-worker_threads/tsconfig.json b/examples/typescript/websocket-server-pool/ws-worker_threads/tsconfig.json index 57e49a1c..19c730cb 100644 --- a/examples/typescript/websocket-server-pool/ws-worker_threads/tsconfig.json +++ b/examples/typescript/websocket-server-pool/ws-worker_threads/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", -- 2.34.1