From a5a92fdd74dbbf76bc3a9d7535a41ee8790a2902 Mon Sep 17 00:00:00 2001 From: Rafal2228 Date: Sat, 16 Dec 2017 12:31:58 +0100 Subject: [PATCH] added spaces around union operators --- types/node-forge/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/node-forge/index.d.ts b/types/node-forge/index.d.ts index ae9c5ab193..5d8b7d0bfd 100644 --- a/types/node-forge/index.d.ts +++ b/types/node-forge/index.d.ts @@ -104,7 +104,7 @@ declare module "node-forge" { /** * @description if not specified, the function will return `ByteStringBuffer` */ - encoding?: 'hex'|'binary'; + encoding?: 'hex' | 'binary'; /** * @description if not specified defaults to `md.md5` */ @@ -124,12 +124,12 @@ declare module "node-forge" { /** * @description Encodes a public RSA key as an OpenSSH file */ - function publicKeyToOpenSSH(publicKey: pki.Key, comment?: string): string|pki.PEM; + function publicKeyToOpenSSH(publicKey: pki.Key, comment?: string): string | pki.PEM; /** * @description Gets the SSH fingerprint for the given public key */ - function getPublicKeyFingerprint(publicKey: pki.Key, options?: FingerprintOptions): util.ByteStringBuffer|Hex|string; + function getPublicKeyFingerprint(publicKey: pki.Key, options?: FingerprintOptions): util.ByteStringBuffer | Hex | string; } namespace asn1 {