yjs / y-webrtc

WebRTC Connector for Yjs
MIT License
448 stars 109 forks source link

fix(package): missing "type" property in export #50

Closed AkaraChen closed 1 year ago

AkaraChen commented 1 year ago

Can't get type in TypeScript 5.0.4

error

This PR add the missing types property to suppress this error.

After:

image

Same issues in y-websocket: https://github.com/yjs/y-websocket/pull/138

dmonad commented 1 year ago

Thanks!

sdevil7th commented 1 year ago

Hi @dmonad ! I've recently started working with yjs and y-webrtc and I admit it's amazing! Great job! I'm facing this issue which is blocking my build, I've found some workarounds but they are a bit hacky. Could you please let me know when this fix is coming out? It'd be really helpful.

Thanks!