Comparing version 0.0.7 to 0.0.8
{ | ||
"name": "tsdef", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "TypeScript common pattern shortcut definitions / utility gist library", | ||
@@ -8,3 +8,3 @@ "main": "es5/index.js", | ||
"scripts": { | ||
"all": "yarn clean && yarn format && yarn lint:fix && yarn test && yarn build && yarn build:es5", | ||
"all": "npm run clean && npm run format && npm run lint:fix && npm run test && npm run build && npm run build:es5", | ||
"build": "tsc -p ./tsconfig.json && tscpaths -p ./tsconfig.json -s ./src -o ./lib", | ||
@@ -16,5 +16,5 @@ "build:es5": "tsc -p ./tsconfig.es5.json && tscpaths -p ./tsconfig.es5.json -s ./src -o ./es5", | ||
"lint:fix": "tslint --fix -c ./tslint.json \"src/**/*\"", | ||
"precommit": "yarn all", | ||
"reinstall": "rm -rf ./node_modules yarn.lock && yarn", | ||
"start": "yarn test", | ||
"precommit": "npm run all", | ||
"reinstall": "rm -rf ./node_modules ./package-lock.json ./yarn.lock && npm i", | ||
"start": "npm run test", | ||
"test": "jest", | ||
@@ -49,4 +49,4 @@ "test:coverage": "jest --coverage", | ||
"@types/jest": "^24.0.13", | ||
"@types/node": "^12.0.4", | ||
"coveralls": "^3.0.3", | ||
"@types/node": "^12.0.5", | ||
"coveralls": "^3.0.4", | ||
"jest": "^24.8.0", | ||
@@ -53,0 +53,0 @@ "pre-commit": "^1.2.2", |
@@ -250,3 +250,3 @@ # tsdef | ||
// return Then if T is not null nor undefined, otherwise return False | ||
// return True if T is not null nor undefined, otherwise return False | ||
// test null and undefined separately to prevent side effect from args distribution | ||
@@ -253,0 +253,0 @@ export type IsNonNil<T, True, False = never> = null extends T |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25239
10