mirror of
https://github.com/fluencelabs/js-peer-id
synced 2025-04-24 18:52:34 +00:00
chore: update index.d.ts (#116)
This tells Typescript that `id` is immutable.
This commit is contained in:
parent
6870c8c4d7
commit
00819ba4eb
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user