From 4e4e8f1d00fe2b3d0a42e31a8b1dd0610ff02602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kl=C3=A1ra=20Erlebachov=C3=A1?= Date: Wed, 31 Jul 2019 19:04:14 +0200 Subject: [PATCH] [node] crypto: make encryption of private key optional (#37158) --- types/node/v10/crypto.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/node/v10/crypto.d.ts b/types/node/v10/crypto.d.ts index 0d37716a7e..d9b89c8f29 100644 --- a/types/node/v10/crypto.d.ts +++ b/types/node/v10/crypto.d.ts @@ -258,8 +258,8 @@ declare module "crypto" { interface BasePrivateKeyEncodingOptions { format: T; - cipher: string; - passphrase: string; + cipher?: string; + passphrase?: string; } interface RSAKeyPairOptions {