15 lines
309 B
Text
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
|
|
}
|