From 0d87dc7cc68de15ade9303057a47850b3c70d8af Mon Sep 17 00:00:00 2001 From: Ivan K Berlot Date: Thu, 29 Aug 2024 16:05:42 -0300 Subject: [PATCH] Add esModuleInterop in the missing tsconfigs --- samples/typescript_nodejs/00.empty-bot/tsconfig.json | 3 ++- samples/typescript_nodejs/01.console-echo/tsconfig.json | 3 ++- samples/typescript_nodejs/02.echo-bot/tsconfig.json | 3 ++- samples/typescript_nodejs/03.welcome-users/tsconfig.json | 3 ++- samples/typescript_nodejs/05.multi-turn-prompt/tsconfig.json | 3 ++- samples/typescript_nodejs/13.core-bot/tsconfig.json | 1 + samples/typescript_nodejs/16.proactive-messages/tsconfig.json | 3 ++- 7 files changed, 13 insertions(+), 6 deletions(-) diff --git a/samples/typescript_nodejs/00.empty-bot/tsconfig.json b/samples/typescript_nodejs/00.empty-bot/tsconfig.json index 556cc10836..a0ed59671a 100644 --- a/samples/typescript_nodejs/00.empty-bot/tsconfig.json +++ b/samples/typescript_nodejs/00.empty-bot/tsconfig.json @@ -7,6 +7,7 @@ "rootDir": "./src", "sourceMap": true, "incremental": true, - "tsBuildInfoFile": "./lib/.tsbuildinfo" + "tsBuildInfoFile": "./lib/.tsbuildinfo", + "esModuleInterop": true } } diff --git a/samples/typescript_nodejs/01.console-echo/tsconfig.json b/samples/typescript_nodejs/01.console-echo/tsconfig.json index 73fe89d187..693c9d0217 100644 --- a/samples/typescript_nodejs/01.console-echo/tsconfig.json +++ b/samples/typescript_nodejs/01.console-echo/tsconfig.json @@ -9,6 +9,7 @@ "sourceMap": true, "strict": true, "incremental": true, - "tsBuildInfoFile": "./lib/.tsbuildinfo" + "tsBuildInfoFile": "./lib/.tsbuildinfo", + "esModuleInterop": true } } diff --git a/samples/typescript_nodejs/02.echo-bot/tsconfig.json b/samples/typescript_nodejs/02.echo-bot/tsconfig.json index 556cc10836..a0ed59671a 100644 --- a/samples/typescript_nodejs/02.echo-bot/tsconfig.json +++ b/samples/typescript_nodejs/02.echo-bot/tsconfig.json @@ -7,6 +7,7 @@ "rootDir": "./src", "sourceMap": true, "incremental": true, - "tsBuildInfoFile": "./lib/.tsbuildinfo" + "tsBuildInfoFile": "./lib/.tsbuildinfo", + "esModuleInterop": true } } diff --git a/samples/typescript_nodejs/03.welcome-users/tsconfig.json b/samples/typescript_nodejs/03.welcome-users/tsconfig.json index 556cc10836..a0ed59671a 100644 --- a/samples/typescript_nodejs/03.welcome-users/tsconfig.json +++ b/samples/typescript_nodejs/03.welcome-users/tsconfig.json @@ -7,6 +7,7 @@ "rootDir": "./src", "sourceMap": true, "incremental": true, - "tsBuildInfoFile": "./lib/.tsbuildinfo" + "tsBuildInfoFile": "./lib/.tsbuildinfo", + "esModuleInterop": true } } diff --git a/samples/typescript_nodejs/05.multi-turn-prompt/tsconfig.json b/samples/typescript_nodejs/05.multi-turn-prompt/tsconfig.json index 556cc10836..a0ed59671a 100644 --- a/samples/typescript_nodejs/05.multi-turn-prompt/tsconfig.json +++ b/samples/typescript_nodejs/05.multi-turn-prompt/tsconfig.json @@ -7,6 +7,7 @@ "rootDir": "./src", "sourceMap": true, "incremental": true, - "tsBuildInfoFile": "./lib/.tsbuildinfo" + "tsBuildInfoFile": "./lib/.tsbuildinfo", + "esModuleInterop": true } } diff --git a/samples/typescript_nodejs/13.core-bot/tsconfig.json b/samples/typescript_nodejs/13.core-bot/tsconfig.json index 3fa2e8df4a..be05d48acf 100644 --- a/samples/typescript_nodejs/13.core-bot/tsconfig.json +++ b/samples/typescript_nodejs/13.core-bot/tsconfig.json @@ -11,5 +11,6 @@ "sourceMap": true, "incremental": true, "tsBuildInfoFile": "./lib/.tsbuildinfo", + "esModuleInterop": true } } diff --git a/samples/typescript_nodejs/16.proactive-messages/tsconfig.json b/samples/typescript_nodejs/16.proactive-messages/tsconfig.json index 556cc10836..a0ed59671a 100644 --- a/samples/typescript_nodejs/16.proactive-messages/tsconfig.json +++ b/samples/typescript_nodejs/16.proactive-messages/tsconfig.json @@ -7,6 +7,7 @@ "rootDir": "./src", "sourceMap": true, "incremental": true, - "tsBuildInfoFile": "./lib/.tsbuildinfo" + "tsBuildInfoFile": "./lib/.tsbuildinfo", + "esModuleInterop": true } }