mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-02 05:47:05 +00:00
[node] crypto: make encryption of private key optional (#37158)
This commit is contained in:
committed by
Jesse Trinity
parent
4de6099016
commit
4e4e8f1d00
Vendored
+2
-2
@@ -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