mirror of
https://github.com/fluencelabs/js-peer-id
synced 2025-06-27 16:41:52 +00:00
chore: update index.d.ts (#116)
This tells Typescript that `id` is immutable.
This commit is contained in:
2
src/index.d.ts
vendored
2
src/index.d.ts
vendored
@ -105,7 +105,7 @@ declare class PeerId {
|
||||
/**
|
||||
* Raw id.
|
||||
*/
|
||||
id: Buffer;
|
||||
readonly id: Buffer;
|
||||
|
||||
/**
|
||||
* Private key.
|
||||
|
Reference in New Issue
Block a user