TypeScript/tests/baselines/reference/declFileForInterfaceWithOptionalFunction.types
2015-04-15 16:44:20 -07:00

14 lines
235 B
Plaintext

=== tests/cases/compiler/declFileForInterfaceWithOptionalFunction.ts ===
interface I {
>I : I
foo? (x?);
>foo : (x?: any) => any
>x : any
foo2? (x?: number): number;
>foo2 : (x?: number) => number
>x : number
}