mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-07-20 20:16:06 -04:00
bug: TSC reports 17 errors #17
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ggtylerr on GitHub (May 30, 2022).
What happened?
When running

tscon 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: trueto yourtsconfig.json, which would skip checking all libraries entirely. Alternatively you can just ignore the errors caused byrevolt-apiand start your code anyways.Obviously though, that doesn't fix the wider issue, and some stuff might be broken.
@NightScript370 commented on GitHub (Jul 13, 2022):
I cannot see the contents of the HasteBin link you posted. Could anyone else please confirm?
@ggtylerr commented on GitHub (Jul 17, 2022):
full log
@BoQsc commented on GitHub (Nov 27, 2022):
Still happening.
@insertish commented on GitHub (Jan 24, 2023):
This was fixed at some point.