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
Was this page helpful?