Update node.d.ts

This commit is contained in:
Poul Sørensen
2013-06-24 23:39:56 +02:00
parent 4e89cd045d
commit bb5d20d333

2
node/node.d.ts vendored
View File

@@ -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 {