swaf/dist/Utils.d.ts
2020-04-22 17:49:58 +02:00

8 lines
321 B
TypeScript

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;