Comparing version 2.3.0 to 2.3.1
@@ -1,2 +0,2 @@ | ||
### `2.2.0` May 17th 2017 | ||
### `2.3.0` May 17th 2017 | ||
@@ -3,0 +3,0 @@ **Features**: |
{ | ||
"name": "lutils", | ||
"description": "A few reliable utils.", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "nfour" |
@@ -0,1 +1,4 @@ | ||
export interface IIndexedObject { | ||
[key: string]: any; | ||
} | ||
export interface ITypeOf { | ||
@@ -10,4 +13,4 @@ (value: any): string; | ||
isFunction: (value: any) => value is Function; | ||
isArray: (value: any) => value is any[]; | ||
isObject: (value: any) => value is object; | ||
isArray: <O = any[]>(value: any) => value is O; | ||
isObject: <O = IIndexedObject>(value: any) => value is O; | ||
isRegExp: (value: any) => value is RegExp; | ||
@@ -23,6 +26,6 @@ isDate: (value: any) => value is Date; | ||
export declare const isFunction: (value: any) => value is Function; | ||
export declare const isArray: (value: any) => value is any[]; | ||
export declare const isObject: (value: any) => value is object; | ||
export declare const isArray: <O = any[]>(value: any) => value is O; | ||
export declare const isObject: <O = IIndexedObject>(value: any) => value is O; | ||
export declare const isRegExp: (value: any) => value is RegExp; | ||
export declare const isDate: (value: any) => value is Date; | ||
export declare const typeOf: ITypeOf; |
Sorry, the diff of this file is not supported yet
47111
631