diff --git a/tsconfig.json b/tsconfig.json index 61375d3b4..ef00f20e2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "target": "ES2020", - "module": "CommonJS", + "module": "Node16", "outDir": "./lib", "rootDir": "./src", "strict": true, @@ -13,7 +13,8 @@ "baseUrl": ".", "typeRoots": ["node_modules/@types", "custom_types"], "lib": ["ES2021.String"], - "composite": true + "composite": true, + "moduleResolution": "node16" }, "include": [ "src/**/*",