diff --git a/package.json b/package.json index 6f51aca8..143fc848 100644 --- a/package.json +++ b/package.json @@ -105,7 +105,8 @@ "rimraf": "^2.6.1", "semver": "^5.1.0", "shelljs": "^0.7.7", - "shx": "^0.2.2" + "shx": "^0.2.2", + "@types/node": "^4.0.35" }, "rnpm": { "ios": { diff --git a/tests/package.json b/tests/package.json index d537accb..22550b1c 100644 --- a/tests/package.json +++ b/tests/package.json @@ -14,7 +14,7 @@ "typescript": "^2.5.2" }, "scripts": { - "check-typescript" : "tsc --noEmit --alwaysStrict ./../lib/index.d.ts", + "check-typescript" : "tsc --types --noEmit --alwaysStrict ./../lib/index.d.ts", "js-tests" : "jasmine spec/unit_tests.js", "test": "npm run check-typescript && npm run js-tests" }