diff --git a/uid-safe/index.d.ts b/uid-safe/index.d.ts index 9892734e1c..d64c14ad4f 100644 --- a/uid-safe/index.d.ts +++ b/uid-safe/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for co-body +// Type definitions for uid-safe // Project: https://github.com/crypto-utils/uid-safe // Definitions by: Joshua DeVinney // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -7,9 +7,8 @@ declare namespace UID { export interface Generate { - (byteLenth: number, callback: (err: any, str: string) => any): void; - (byteLenth: number): Promise; - (byteLenth: number, callback?: (err: any, str: string) => any): Promise | void; + (byteLength: number, callback: (err: any, str: string) => any): void; + (byteLength: number): Promise; sync(byteLength: number): string; } diff --git a/uid-safe/tsconfig.json b/uid-safe/tsconfig.json index a0bda21ebe..5c29fae11c 100644 --- a/uid-safe/tsconfig.json +++ b/uid-safe/tsconfig.json @@ -14,6 +14,6 @@ }, "files": [ "index.d.ts", - "fs-extra-promise-es6-tests.ts" + "uid-safe-tests.ts" ] } \ No newline at end of file diff --git a/uid-safe/uid-safe-test.ts b/uid-safe/uid-safe-tests.ts similarity index 100% rename from uid-safe/uid-safe-test.ts rename to uid-safe/uid-safe-tests.ts