diff --git a/flow-typed/npm/bcrypt_v1.x.x.js b/flow-typed/npm/bcrypt_v1.x.x.js deleted file mode 100644 index 88a9d3279..000000000 --- a/flow-typed/npm/bcrypt_v1.x.x.js +++ /dev/null @@ -1,37 +0,0 @@ -// flow-typed signature: 96d9e6596558a201899e45822d93e38d -// flow-typed version: da30fe6876/bcrypt_v1.x.x/flow_>=v0.25.x - -declare module bcrypt { - declare function genSaltSync(rounds?: number): string; - declare function genSalt(rounds: number): Promise; - declare function genSalt(): Promise; - declare function genSalt(callback: (err: Error, salt: string) => void): void; - declare function genSalt( - rounds: number, - callback: (err: Error, salt: string) => void - ): void; - declare function hashSync(data: string, salt: string): string; - declare function hashSync(data: string, rounds: number): string; - declare function hash( - data: string, - saltOrRounds: string | number - ): Promise; - declare function hash( - data: string, - rounds: number, - callback: (err: Error, encrypted: string) => void - ): void; - declare function hash( - data: string, - salt: string, - callback: (err: Error, encrypted: string) => void - ): void; - declare function compareSync(data: string, encrypted: string): boolean; - declare function compare(data: string, encrypted: string): Promise; - declare function compare( - data: string, - encrypted: string, - callback: (err: Error, same: boolean) => void - ): void; - declare function getRounds(encrypted: string): number; -}