first commit

This commit is contained in:
rodrigo committed 2025-04-10 23:07:21 -03:00
commit c9fb67e751
423 files changed
+53287

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
declare module 'bcryptjs' {
export function genSalt(rounds?: number): Promise<string>;
export function hash(s: string, salt: string | number): Promise<string>;
export function compare(s: string, hash: string): Promise<boolean>;
export function hashSync(s: string, salt: string | number): string;
export function compareSync(s: string, hash: string): boolean;
export function genSaltSync(rounds?: number): string;
export const getRounds: (hash: string) => number;
}