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,