From f71d629e3f3a6665f2313d1d54ffb79fe12c1902 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Fri, 23 Feb 2024 13:16:35 -0800 Subject: [PATCH] Switch our tsconfigs over to NodeNext (#57213) --- src/cancellationToken/tsconfig.json | 1 - src/tsconfig-base.json | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cancellationToken/tsconfig.json b/src/cancellationToken/tsconfig.json index f5c0994d7c0..4a7c33276af 100644 --- a/src/cancellationToken/tsconfig.json +++ b/src/cancellationToken/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "../tsconfig-base", "compilerOptions": { - "module": "commonjs", "types": [ "node" ] diff --git a/src/tsconfig-base.json b/src/tsconfig-base.json index 498bd88917d..fa600e7f687 100644 --- a/src/tsconfig-base.json +++ b/src/tsconfig-base.json @@ -6,8 +6,8 @@ "pretty": true, "lib": ["es2020"], "target": "es2020", - "module": "CommonJS", - "moduleResolution": "node", + "module": "NodeNext", + "moduleResolution": "NodeNext", "declaration": true, "declarationMap": true,