diff --git a/clients/js-legacy/package.json b/clients/js-legacy/package.json index 360d1fe..9d391f4 100644 --- a/clients/js-legacy/package.json +++ b/clients/js-legacy/package.json @@ -72,7 +72,7 @@ "ts-node": "^10.9.2", "tslib": "^2.8.1", "typedoc": "^0.28.19", - "typescript": "^5.7.2" + "typescript": "^6.0.3" }, "prettier": "@solana/prettier-config-solana" } diff --git a/clients/js-legacy/tsconfig.base.json b/clients/js-legacy/tsconfig.base.json index 90620c4..2aca5f8 100644 --- a/clients/js-legacy/tsconfig.base.json +++ b/clients/js-legacy/tsconfig.base.json @@ -9,6 +9,8 @@ "noEmitOnError": true, "resolveJsonModule": true, "strict": true, - "stripInternal": true + "stripInternal": true, + "ignoreDeprecations": "6.0", + "types": ["node"] } } diff --git a/clients/js-legacy/tsconfig.cjs.json b/clients/js-legacy/tsconfig.cjs.json index 4dce4e8..ab04817 100644 --- a/clients/js-legacy/tsconfig.cjs.json +++ b/clients/js-legacy/tsconfig.cjs.json @@ -5,6 +5,7 @@ "outDir": "dist/cjs", "target": "ES2016", "module": "CommonJS", - "sourceMap": true + "sourceMap": true, + "rootDir": "./src" } } diff --git a/clients/js-legacy/tsconfig.esm.json b/clients/js-legacy/tsconfig.esm.json index d7790b5..f3bf58e 100644 --- a/clients/js-legacy/tsconfig.esm.json +++ b/clients/js-legacy/tsconfig.esm.json @@ -8,6 +8,7 @@ "module": "ES2020", "sourceMap": true, "declaration": true, - "declarationMap": true + "declarationMap": true, + "rootDir": "./src" } } diff --git a/clients/js-legacy/tsconfig.json b/clients/js-legacy/tsconfig.json index 2f9b239..cd3f3f8 100644 --- a/clients/js-legacy/tsconfig.json +++ b/clients/js-legacy/tsconfig.json @@ -3,6 +3,7 @@ "include": ["src", "test"], "compilerOptions": { "noEmit": true, - "skipLibCheck": true + "skipLibCheck": true, + "types": ["node", "mocha"] } }