mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-23 11:42:36 +08:00
Update node.d.ts
This commit is contained in:
1 parent
4e89cd045d
commit
bb5d20d333
1 file changed
+1
-1
Vendored
+1
-1
@@ -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