mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
Update node.d.ts
This commit is contained in:
2
node/node.d.ts
vendored
2
node/node.d.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user