2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/declFileForInterfaceWithOptionalFunction.ts ===
|
|
|
|
|
|
|
|
interface I {
|
2015-04-13 22:54:22 +02:00
|
|
|
>I : I, Symbol(I,Decl(declFileForInterfaceWithOptionalFunction.ts,0,0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
foo? (x?);
|
2015-04-13 22:54:22 +02:00
|
|
|
>foo : (x?: any) => any, Symbol(foo,Decl(declFileForInterfaceWithOptionalFunction.ts,1,13))
|
|
|
|
>x : any, Symbol(x,Decl(declFileForInterfaceWithOptionalFunction.ts,2,10))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
foo2? (x?: number): number;
|
2015-04-13 22:54:22 +02:00
|
|
|
>foo2 : (x?: number) => number, Symbol(foo2,Decl(declFileForInterfaceWithOptionalFunction.ts,2,14))
|
|
|
|
>x : number, Symbol(x,Decl(declFileForInterfaceWithOptionalFunction.ts,3,11))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|