mirror of
https://github.com/fluencelabs/js-peer-id
synced 2025-04-25 07:12:23 +00:00
fix: privKey possible undefined (#129)
This commit is contained in:
parent
6d571ae196
commit
224b30cb65
2
src/index.d.ts
vendored
2
src/index.d.ts
vendored
@ -31,7 +31,7 @@ declare namespace PeerId {
|
|||||||
/**
|
/**
|
||||||
* Private key.
|
* Private key.
|
||||||
*/
|
*/
|
||||||
privKey: string;
|
privKey?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user