Skip to content

ZNTC1300: A class may only have one constructor

A class may only have one constructor

Category: Semantic: Class/Other

class C { constructor() {} constructor() {} }

Reproduce in Playground →

See the error message for cause and resolution.