diff --git a/package.json b/package.json index 9b45ec6d..50fc8d41 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "stream-browserify": "3.0.0", "terser-webpack-plugin": "5.3.16", "ts-node": "10.9.2", - "typescript": "5.5.4", + "typescript": "5.9.3", "uglify-js": "3.19.3", "web3": "1.10.4", "webpack": "5.75.0", diff --git a/test/typings.test.js b/test/typings.test.js index daeef274..32d930e3 100644 --- a/test/typings.test.js +++ b/test/typings.test.js @@ -18,7 +18,7 @@ describe('typings.test.ts', () => { const stdout = []; const stderr = []; const promise = spawn('ts-node', [ - '--compiler-options', '{"target":"es6", "strict": true}', + '--compiler-options', '{"target":"es6", "module":"commonjs", "strict": true}', '-e', codeBase + '\n' + code ]); const childProcess = promise.childProcess;