Make type checking builtins also accept just a type argument

This commit is contained in:
dcodeIO
2018-04-07 23:31:36 +02:00
parent 8ffc7d463d
commit dcc0e284fb
12 changed files with 1113 additions and 888 deletions

View File

@ -1,12 +1,12 @@
export declare function isInteger(value: void): bool;
export declare function isInteger<T>(value?: T): bool;
export declare function isFloat(value: void): bool;
export declare function isFloat<T>(value?: T): bool;
export declare function isReference(value: void): bool;
export declare function isReference<T>(value?: T): bool;
export declare function isString(value: void): bool;
export declare function isString<T>(value?: T): bool;
export declare function isArray(value: void): bool;
export declare function isArray<T>(value?: T): bool;
export declare const NaN: f64; // | f32