@654356282/react-keepalive
Version:
React Keepalive Component
9 lines (8 loc) • 443 B
TypeScript
export declare function wrapPromise(p: Promise<void>): () => null | undefined;
export declare const resolve: () => void;
export declare const pending: () => null | undefined;
export declare function isString(val: any): boolean;
export declare function isNumber(val: any): boolean;
export declare function isArray(val: any): boolean;
export declare function isNil(val: any): boolean;
export declare function safelyCallFn(fn: () => void): void;