swaf/dist/Utils.d.ts

8 lines
321 B
TypeScript
Raw Normal View History

2020-04-22 15:52:17 +02:00
export declare function sleep(ms: number): Promise<void>;
export declare abstract class WrappingError extends Error {
readonly cause?: Error;
protected constructor(message: string, cause?: Error);
get name(): string;
}
export declare function cryptoRandomDictionary(size: number, dictionary: string): string;