From 14af5ff76895c780bb54e971e160f2d35c46ccca Mon Sep 17 00:00:00 2001 From: Jonathan Pirnay Date: Thu, 19 Jun 2014 12:17:48 +0200 Subject: [PATCH] Fix: Substitute `any` with Buffer --- node/node.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/node.d.ts b/node/node.d.ts index 45dc16a0f4..248b0ad535 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -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;