diff --git a/package.json b/package.json index 8cbdafa..a5bab49 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "split2": "^4.0.0", "ts-node": "^10.3.0", "tsd": "^0.33.0", - "typescript": "~5.9.2" + "typescript": "~6.0.2" }, "scripts": { "benchmark": "bash ./scripts/benchmark-all", diff --git a/tsconfig.json b/tsconfig.json index 6e66603..26f6347 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,15 +1,12 @@ { "compilerOptions": { - "target": "es6", + "target": "es2022", + "lib": ["es2022"], "esModuleInterop": true, - "lib": [ "es2015" ], - "module": "commonjs", + "module": "node16", + "moduleResolution": "node16", "noEmit": true, - "strict": true, - "moduleResolution": "node", + "strict": true }, - "include": [ - "./*.test-d.ts", - "./*.d.ts" - ] -} \ No newline at end of file + "include": ["./*.test-d.ts", "./*.d.ts"] +}