fix: privKey possible undefined (#129)

This commit is contained in:
Adam Uhlíř 2020-08-17 16:35:13 +02:00 committed by GitHub
parent 6d571ae196
commit 224b30cb65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
src/index.d.ts vendored
View File

@ -31,7 +31,7 @@ declare namespace PeerId {
/**
* Private key.
*/
privKey: string;
privKey?: string;
};
/**