You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use the discord-types npm package for discord webpack module types. But this module hasn't properly been updated in years, so it is very outdated
We should
migrate all types we use to be included first party inside the Vencord repo. this is much more convenient than an npm package as it allows us to easily make changes to types. they could just be added alongside the existing types in src/webpack/common/types
update all types to add new fields and remove ones that no longer exist
We use the discord-types npm package for discord webpack module types. But this module hasn't properly been updated in years, so it is very outdated
We should
src/webpack/common/types
To have as little work as possible, the best solution would be to grab an example entity from live Discord as json, and use the following tool to generate a typescript interface from it:
https://marketplace.visualstudio.com/items?itemName=GregorBiswanger.json2ts
The text was updated successfully, but these errors were encountered: