diff --git a/package.json b/package.json index 7c9f4eb6ac..789ca0fa55 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "testonly": "./resources/jest", "test": "run-s format build lint testonly test:types:*", "test:travis": "npm run test && ./resources/check-changes", - "test:types:ts": "dtslint type-definitions/ts-tests", + "test:types:ts": "tsc ./type-definitions/Immutable.d.ts --lib es2015 && dtslint type-definitions/ts-tests", "test:types:flow": "flow check type-definitions/tests --include-warnings", "perf": "node ./resources/bench.js", "start": "gulp --gulpfile gulpfile.js dev",