Type error consuming this library
Closed this issue · 1 comments
wemeetagain commented
../../node_modules/@libp2p/mdns/dist/src/index.d.ts:1:26 - error TS7016: Could not find a declaration file for module 'multicast-dns'. '/path/to/project/node_modules/multicast-dns/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/multicast-dns` if it exists or add a new declaration (.d.ts) file containing `declare module 'multicast-dns';`
1 import multicastDNS from 'multicast-dns';
~~~~~~~~~~~~~~~