From e63ff8f99a020c7a7ffa860e85c3d0eaac435726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Le=20Dorze?= Date: Thu, 27 Aug 2015 22:10:18 +0200 Subject: [PATCH] Verify in crypto extends WritableStream --- node/node-0.11.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/node-0.11.d.ts b/node/node-0.11.d.ts index cd55bdfb1..a6aa3c970 100644 --- a/node/node-0.11.d.ts +++ b/node/node-0.11.d.ts @@ -1094,7 +1094,7 @@ declare module "crypto" { sign(private_key: string, output_format: string): string; } export function createVerify(algorith: string): Verify; - interface Verify { + interface Verify extends NodeJS.WritableStream { update(data: any): void; verify(object: string, signature: string, signature_format?: string): boolean; }