29 lines
1 KiB
Text
29 lines
1 KiB
Text
=== tests/cases/conformance/classes/constructorDeclarations/constructorParameters/constructorOverloadsWithOptionalParameters.ts ===
|
|
class C {
|
|
>C : Symbol(C, Decl(constructorOverloadsWithOptionalParameters.ts, 0, 0))
|
|
|
|
foo: string;
|
|
>foo : Symbol(foo, Decl(constructorOverloadsWithOptionalParameters.ts, 0, 9))
|
|
|
|
constructor(x?, y?: any[]);
|
|
>x : Symbol(x, Decl(constructorOverloadsWithOptionalParameters.ts, 2, 16))
|
|
>y : Symbol(y, Decl(constructorOverloadsWithOptionalParameters.ts, 2, 19))
|
|
|
|
constructor() {
|
|
}
|
|
}
|
|
|
|
class D<T> {
|
|
>D : Symbol(D, Decl(constructorOverloadsWithOptionalParameters.ts, 5, 1))
|
|
>T : Symbol(T, Decl(constructorOverloadsWithOptionalParameters.ts, 7, 8))
|
|
|
|
foo: string;
|
|
>foo : Symbol(foo, Decl(constructorOverloadsWithOptionalParameters.ts, 7, 12))
|
|
|
|
constructor(x?, y?: any[]);
|
|
>x : Symbol(x, Decl(constructorOverloadsWithOptionalParameters.ts, 9, 16))
|
|
>y : Symbol(y, Decl(constructorOverloadsWithOptionalParameters.ts, 9, 19))
|
|
|
|
constructor() {
|
|
}
|
|
}
|