Closed ggtylerr closed 1 year ago
I cannot see the contents of the HasteBin link you posted. Could anyone else please confirm?
I cannot see the contents of the HasteBin link you posted. Could anyone else please confirm?
Still happening.
This was fixed at some point.
What happened?
When running![image](https://user-images.githubusercontent.com/28498877/170973984-586c2eef-91e0-4974-a9c8-ef6431605ca9.png)
tsc
on any typescript project using revolt.js (including the example one provided in revolt.js.org), it'll give these errors:Hastebin (posted there to prevent clutter)
Workaround
You can add
skipLibCheck: true
to yourtsconfig.json
, which would skip checking all libraries entirely. Alternatively you can just ignore the errors caused byrevolt-api
and start your code anyways.Obviously though, that doesn't fix the wider issue, and some stuff might be broken.