23 lines
352 B
Text
23 lines
352 B
Text
=== tests/cases/conformance/es6/classDeclaration/emitClassDeclarationOverloadInES6.ts ===
|
|
class C {
|
|
>C : C
|
|
|
|
constructor(y: any)
|
|
>y : any
|
|
|
|
constructor(x: number) {
|
|
>x : number
|
|
}
|
|
}
|
|
|
|
class D {
|
|
>D : D
|
|
|
|
constructor(y: any)
|
|
>y : any
|
|
|
|
constructor(x: number, z="hello") {}
|
|
>x : number
|
|
>z : string
|
|
>"hello" : string
|
|
}
|