TypeScript/tests/baselines/reference/commentOnSignature1.types
2014-08-25 10:55:22 -07:00

15 lines
309 B
Text

=== tests/cases/compiler/commentOnSignature1.ts ===
/*! Keep this pinned comment */
function foo(n: number): void;
>foo : typeof foo
>n : number
// Don't keep this comment.
function foo(s: string): void;
>foo : typeof foo
>s : string
function foo(a: any): void {
>foo : typeof foo
>a : any
}