Respect types in index.d.ts files. (#1602)
This commit is contained in:
parent
d6a8cbb1f3
commit
cc6d29033b
|
@ -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": {
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue