Respect types in index.d.ts files. (#1602)

This commit is contained in:
Kenneth Geisshirt 2018-01-09 09:29:19 +01:00 committed by GitHub
parent d6a8cbb1f3
commit cc6d29033b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -105,7 +105,8 @@
"rimraf": "^2.6.1", "rimraf": "^2.6.1",
"semver": "^5.1.0", "semver": "^5.1.0",
"shelljs": "^0.7.7", "shelljs": "^0.7.7",
"shx": "^0.2.2" "shx": "^0.2.2",
"@types/node": "^4.0.35"
}, },
"rnpm": { "rnpm": {
"ios": { "ios": {

View File

@ -14,7 +14,7 @@
"typescript": "^2.5.2" "typescript": "^2.5.2"
}, },
"scripts": { "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", "js-tests" : "jasmine spec/unit_tests.js",
"test": "npm run check-typescript && npm run js-tests" "test": "npm run check-typescript && npm run js-tests"
} }