ZNTC0406: Class constructor cannot be a getter, setter, generator, or async
ZNTC0406
Section titled “ZNTC0406”Class constructor cannot be a getter, setter, generator, or async
Category: Parser: Declaration/Class
Reproduction
Section titled “Reproduction”class Foo { async constructor() {} }How to fix
Section titled “How to fix”See the error message for cause and resolution.