TypeError Class constructor _SapphireClient cannot be invoked without 'new'

This is happening when I extend SapphireClient. Using Typescript.
Solution:
This means your target wasn't set so it defaults to ES3 which is ancient JS that isn't supported and doesn't supported classes
Jump to solution
2 Replies
Tedz
TedzOP2y ago
Fixed.
Solution
Favna
Favna13mo ago
This means your target wasn't set so it defaults to ES3 which is ancient JS that isn't supported and doesn't supported classes
Want results from more Discord servers?
Add your server