TypeScript/tests/baselines/reference/constructorOverloadsWithOptionalParameters.types
2015-04-15 16:44:20 -07:00

30 lines
439 B
Plaintext

=== tests/cases/conformance/classes/constructorDeclarations/constructorParameters/constructorOverloadsWithOptionalParameters.ts ===
class C {
>C : C
foo: string;
>foo : string
constructor(x?, y?: any[]);
>x : any
>y : any[]
constructor() {
}
}
class D<T> {
>D : D<T>
>T : T
foo: string;
>foo : string
constructor(x?, y?: any[]);
>x : any
>y : any[]
constructor() {
}
}