TypeScript/tests/baselines/reference/commentOnSignature1.types
2014-08-15 14:37:48 -07:00

16 lines
402 B
Plaintext

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