UNPKG

624 BTypeScriptView Raw
1export declare function compare(...props: any[]): (a: any, b: any) => 0 | 1 | -1;
2export declare function wait(ms: number, unref?: boolean): Promise<void>;
3export declare function timeout(p: Promise<any>, ms: number): Promise<void>;
4export interface IESModule<T> {
5 __esModule: true;
6 default: T;
7}
8export declare function undefault<T>(obj: T | IESModule<T>): T;
9export declare function objEntries<T>(input?: {
10 [k: string]: T;
11}): [string, T][];
12export declare function objValues<T>(input?: {
13 [k: string]: T;
14}): T[];
15export declare function minorVersionGreater(fromString: string, toString: string): boolean;