type-plus
Advanced tools
Comparing version 1.9.0 to 1.10.0
@@ -5,2 +5,3 @@ export * from './filterKey'; | ||
export * from './Id'; | ||
export * from './isPromise'; | ||
export * from './KeyTypes'; | ||
@@ -7,0 +8,0 @@ export * from './literalArray'; |
@@ -10,2 +10,3 @@ "use strict"; | ||
__export(require("./Id")); | ||
__export(require("./isPromise")); | ||
__export(require("./literalArray")); | ||
@@ -12,0 +13,0 @@ __export(require("./mapKey")); |
{ | ||
"name": "type-plus", | ||
"description": "Provides additional types for `typescript`.", | ||
"version": "1.9.0", | ||
"version": "1.10.0", | ||
"homepage": "https://github.com/unional/type-plus", | ||
@@ -6,0 +6,0 @@ "bugs": { |
@@ -41,2 +41,6 @@ # type-plus | ||
### Promise function | ||
- `isPromise<R>(subject: any)`: `isPromise()` type guard. | ||
### Type manipulation | ||
@@ -43,0 +47,0 @@ |
@@ -5,2 +5,3 @@ export * from './filterKey'; | ||
export * from './Id'; | ||
export * from './isPromise'; | ||
export * from './KeyTypes'; | ||
@@ -7,0 +8,0 @@ export * from './literalArray'; |
@@ -12,1 +12,5 @@ export function excludeUndefined<T>(actual: T): Exclude<T, undefined> { return actual as any } | ||
} | ||
export function isVoid(_: void) { | ||
return true | ||
} |
Sorry, the diff of this file is not supported yet
36063
95
707
95