mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-07 06:04:50 +00:00
[node] crypto: make encryption of private key optional (#37158)
This commit is contained in:
committed by
Jesse Trinity
parent
4de6099016
commit
4e4e8f1d00
4
types/node/v10/crypto.d.ts
vendored
4
types/node/v10/crypto.d.ts
vendored
@@ -258,8 +258,8 @@ declare module "crypto" {
|
||||
|
||||
interface BasePrivateKeyEncodingOptions<T extends KeyFormat> {
|
||||
format: T;
|
||||
cipher: string;
|
||||
passphrase: string;
|
||||
cipher?: string;
|
||||
passphrase?: string;
|
||||
}
|
||||
|
||||
interface RSAKeyPairOptions<PubF extends KeyFormat, PrivF extends KeyFormat> {
|
||||
|
||||
Reference in New Issue
Block a user