TypeScript/tests/baselines/reference/constructorOverloadsWithOptionalParameters.types

30 lines
439 B
Text
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== 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() {
}
}