libp2p / js-peer-id

peer-id implementation in JavaScript. Deprecated; use https://github.com/libp2p/js-libp2p-peer-id instead.
https://github.com/libp2p/js-libp2p-peer-id
MIT License
80 stars 44 forks source link

Improve typings #116

Closed robertkiel closed 4 years ago

robertkiel commented 4 years ago

This tells Typescript that id is immutable.