From bb5d20d33363ddf8328124c79745bd257b4612a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Poul=20S=C3=B8rensen?= Date: Mon, 24 Jun 2013 23:39:56 +0200 Subject: [PATCH] Update node.d.ts --- 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 2fbd81e55..c1a552869 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -929,7 +929,7 @@ declare module "crypto" { export function createHash(algorithm: string): Hash; export function createHmac(algorithm: string, key: string): Hmac; interface Hash { - update(data: any, input_encoding?: string): void; + update(data: any, input_encoding?: string): Hash; digest(encoding?: string): string; } interface Hmac {