mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
[Node.d.ts]: Update definitions for module "crypto" (#11186)
This commit is contained in:
1
node/node.d.ts
vendored
1
node/node.d.ts
vendored
@@ -2434,6 +2434,7 @@ declare module "crypto" {
|
||||
setPrivateKey(private_key: string, encoding: HexBase64Latin1Encoding): void;
|
||||
}
|
||||
export function createECDH(curve_name: string): ECDH;
|
||||
export var DEFAULT_ENCODING: string;
|
||||
}
|
||||
|
||||
declare module "stream" {
|
||||
|
||||
Reference in New Issue
Block a user