revoltchat / revolt.js

Modern Typescript library for interacting with Revolt.
https://revolt.js.org
MIT License
216 stars 54 forks source link

issue: importing revolt.js without skipLibCheck throws type errors #67

Open insertish opened 1 year ago

insertish commented 1 year ago

Minimum reproducible example: https://gitlab.insrt.uk/insert/revolt.js-type-issue

lexisother commented 1 year ago

I am not keen on bumping issues, but even on the latest version this occurs: image

lexisother commented 1 year ago

Correction; the above only happens on v7*. 6.0.20-patch.2 is fine, however it still contains the type errors I initially reported when not using skipLibCheck.