2015-03-13 00:02:43 +01:00
|
|
|
=== tests/cases/conformance/es6/classDeclaration/emitClassDeclarationOverloadInES6.ts ===
|
2015-03-11 01:39:13 +01:00
|
|
|
class C {
|
2015-04-16 01:44:20 +02:00
|
|
|
>C : C
|
2015-03-11 01:39:13 +01:00
|
|
|
|
|
|
|
constructor(y: any)
|
2015-04-16 01:44:20 +02:00
|
|
|
>y : any
|
2015-03-11 01:39:13 +01:00
|
|
|
|
|
|
|
constructor(x: number) {
|
2015-04-16 01:44:20 +02:00
|
|
|
>x : number
|
2015-03-11 01:39:13 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class D {
|
2015-04-16 01:44:20 +02:00
|
|
|
>D : D
|
2015-03-11 01:39:13 +01:00
|
|
|
|
|
|
|
constructor(y: any)
|
2015-04-16 01:44:20 +02:00
|
|
|
>y : any
|
2015-03-11 01:39:13 +01:00
|
|
|
|
|
|
|
constructor(x: number, z="hello") {}
|
2015-04-16 01:44:20 +02:00
|
|
|
>x : number
|
|
|
|
>z : string
|
2015-04-13 21:36:11 +02:00
|
|
|
>"hello" : string
|
2015-03-11 01:39:13 +01:00
|
|
|
}
|