Skip to content

Fix TypeScript errors

Compare
Choose a tag to compare
@Mimickal Mimickal released this 02 Sep 07:16
· 22 commits to master since this release
5b10d1d

This release fixes some scenarios where TypeScript would report type incompatibilities in builders.

  • .addXOption functions from Discord.js now preserve type information.
  • Handler functions now determine interaction type better.
  • Handler functions don't cause TypeScript errors anymore (no idea how I didn't catch this the first time around).