mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
587 B
Plaintext
15 lines
587 B
Plaintext
//// [tests/cases/compiler/declFileForInterfaceWithOptionalFunction.ts] ////
|
|
|
|
=== declFileForInterfaceWithOptionalFunction.ts ===
|
|
interface I {
|
|
>I : Symbol(I, Decl(declFileForInterfaceWithOptionalFunction.ts, 0, 0))
|
|
|
|
foo? (x?);
|
|
>foo : Symbol(I.foo, Decl(declFileForInterfaceWithOptionalFunction.ts, 0, 13))
|
|
>x : Symbol(x, Decl(declFileForInterfaceWithOptionalFunction.ts, 1, 10))
|
|
|
|
foo2? (x?: number): number;
|
|
>foo2 : Symbol(I.foo2, Decl(declFileForInterfaceWithOptionalFunction.ts, 1, 14))
|
|
>x : Symbol(x, Decl(declFileForInterfaceWithOptionalFunction.ts, 2, 11))
|
|
}
|