type-plus
Advanced tools
Comparing version 1.7.0 to 1.8.0
@@ -6,2 +6,3 @@ export * from './filterKey'; | ||
export * from './KeyTypes'; | ||
export * from './literalArray'; | ||
export * from './mapKey'; | ||
@@ -8,0 +9,0 @@ export * from './RecursiveIntersect'; |
@@ -10,4 +10,5 @@ "use strict"; | ||
__export(require("./Id")); | ||
__export(require("./literalArray")); | ||
__export(require("./mapKey")); | ||
__export(require("./reduceKey")); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "type-plus", | ||
"description": "Provides additional types for `typescript`.", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"homepage": "https://github.com/unional/type-plus", | ||
@@ -6,0 +6,0 @@ "bugs": { |
@@ -11,3 +11,3 @@ import t from 'assert'; | ||
test('createIdCreator<T> creates function that creates ID<T>', () => { | ||
test('createIdCreator<T> creates a function that creates Id<T>', () => { | ||
const fooc = createIdCreator('foo') | ||
@@ -14,0 +14,0 @@ const barc = createIdCreator('bar') |
@@ -6,2 +6,3 @@ export * from './filterKey'; | ||
export * from './KeyTypes'; | ||
export * from './literalArray'; | ||
export * from './mapKey'; | ||
@@ -8,0 +9,0 @@ export * from './RecursiveIntersect'; |
export function excludeUndefined<T>(actual: T): Exclude<T, undefined> { return actual as any } | ||
export function acceptNoUndefined<T>(actual: Exclude<T, undefined>) { return actual } | ||
export function isNever(_: never) { | ||
return true | ||
} |
Sorry, the diff of this file is not supported yet
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
33741
88
650