mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 07:40:10 +00:00
Fix: Substitute any with Buffer
This commit is contained in:
2
node/node.d.ts
vendored
2
node/node.d.ts
vendored
@@ -1057,7 +1057,7 @@ declare module "crypto" {
|
||||
update(data: any, input_encoding?: string): Hmac;
|
||||
digest(encoding: 'buffer'): Buffer;
|
||||
digest(encoding: string): any;
|
||||
digest(): any;
|
||||
digest(): Buffer;
|
||||
}
|
||||
export function createCipher(algorithm: string, password: any): Cipher;
|
||||
export function createCipheriv(algorithm: string, key: any, iv: any): Cipher;
|
||||
|
||||
Reference in New Issue
Block a user