Cannot access MimeTypes & HttpCodes when verbatimModuleSyntax is enabled in TypeScript 5
I thought api plugin is updated to support TypeScript 5... Should I just use constant for this
Solution:Jump to solution
Lol apparently I forgot that one https://github.com/sapphiredev/plugins/blob/main/packages/api/src/lib/utils/MimeTypes.ts
GitHub
plugins/MimeTypes.ts at main · sapphiredev/plugins
Plugins for the Sapphire Framework. Contribute to sapphiredev/plugins development by creating an account on GitHub.
2 Replies
Solution
Lol apparently I forgot that one https://github.com/sapphiredev/plugins/blob/main/packages/api/src/lib/utils/MimeTypes.ts
GitHub
plugins/MimeTypes.ts at main · sapphiredev/plugins
Plugins for the Sapphire Framework. Contribute to sapphiredev/plugins development by creating an account on GitHub.
If you want to make a PR for it go ahead