prettier/tests/typescript/conformance/classes/constructorDeclarations/constructorParameters/constructorDefaultValuesRef...

11 lines
140 B
TypeScript

class C {
constructor(x = this) { }
}
class D<T> {
constructor(x = this) { }
}
class E<T> {
constructor(public x = this) { }
}