Merge pull request #696 from s093294/master

Fixed return type on Node, Hash Interface, update function.
This commit is contained in:
Diullei Gomes
2013-06-24 19:22:53 -07:00
+1 -1
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 {