16 lines
402 B
Plaintext
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
|
|
}
|