mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
uid-safe: Set Promise type to string.
This commit is contained in:
Vendored
+1
-1
@@ -8,7 +8,7 @@ declare namespace UID {
|
||||
export interface Generate {
|
||||
|
||||
(byteLength: number, callback: (err: any, str: string) => any): void;
|
||||
(byteLength: number): Promise<any>;
|
||||
(byteLength: number): Promise<string>;
|
||||
|
||||
sync(byteLength: number): string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user