25 lines
1.2 KiB
Text
25 lines
1.2 KiB
Text
=== tests/cases/conformance/interfaces/interfaceDeclarations/interfaceWithConstructSignaturesThatHidesBaseSignature.ts ===
|
|
interface Foo {
|
|
>Foo : Symbol(Foo, Decl(interfaceWithConstructSignaturesThatHidesBaseSignature.ts, 0, 0))
|
|
|
|
new (): { a: number };
|
|
>a : Symbol(a, Decl(interfaceWithConstructSignaturesThatHidesBaseSignature.ts, 1, 13))
|
|
}
|
|
|
|
interface Derived extends Foo {
|
|
>Derived : Symbol(Derived, Decl(interfaceWithConstructSignaturesThatHidesBaseSignature.ts, 2, 1))
|
|
>Foo : Symbol(Foo, Decl(interfaceWithConstructSignaturesThatHidesBaseSignature.ts, 0, 0))
|
|
|
|
new (): { a: number; b: number };
|
|
>a : Symbol(a, Decl(interfaceWithConstructSignaturesThatHidesBaseSignature.ts, 5, 13))
|
|
>b : Symbol(b, Decl(interfaceWithConstructSignaturesThatHidesBaseSignature.ts, 5, 24))
|
|
}
|
|
|
|
var d: Derived;
|
|
>d : Symbol(d, Decl(interfaceWithConstructSignaturesThatHidesBaseSignature.ts, 8, 3))
|
|
>Derived : Symbol(Derived, Decl(interfaceWithConstructSignaturesThatHidesBaseSignature.ts, 2, 1))
|
|
|
|
var r = new d();
|
|
>r : Symbol(r, Decl(interfaceWithConstructSignaturesThatHidesBaseSignature.ts, 9, 3))
|
|
>d : Symbol(d, Decl(interfaceWithConstructSignaturesThatHidesBaseSignature.ts, 8, 3))
|
|
|