Files
tsgo/testdata/tests/cases/compiler/declarationEmitArrowParameterComments.ts

15 lines
332 B
TypeScript

// @declaration: true
// @emitDeclarationOnly: true
export function gn(
foo: boolean, // comment on foo
bar: string, // comment on bar
buzz: number, // comment on buzz
): void {}
export const fn = (
foo: boolean, // comment on foo
bar: string, // comment on bar
buzz: number, // comment on buzz
) => {};