TypeScript/tests/baselines/reference/emitClassDeclarationOverloadInES6.types

24 lines
352 B
Plaintext
Raw Normal View History

2015-03-13 00:02:43 +01:00
=== 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
2015-04-13 21:36:11 +02:00
>"hello" : string
}