24 lines
352 B
Plaintext
24 lines
352 B
Plaintext
=== 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
|
|
}
|