Open sa- opened 11 months ago
This is my first bug report here, and I would just like to thank you for building this awesome lib!
Looks like this is fixed by #138 which has been approved just not merged.
It was merged in a separate pr. #138 should probably be closed.
relevant line in package.json for the types: https://github.com/yjs/y-websocket/blob/master/package.json#L37
@dmonad any plans on doing a release soon that includes this fix?
Checklist
Describe the bug When importing y-websocket
import { WebsocketProvider } from 'y-websocket'
, I get the errorI am getting around it by adding a
// @ts-ignore
before the import statement.To Reproduce Steps to reproduce the behavior:
import { WebsocketProvider } from 'y-websocket'
inmain.ts
Expected behavior It correctly uses the types file at y-websocket/dist/src/y-websocket.d.ts
Screenshots
Environment Information
Additional context Add any other context about the problem here.