TypeScript-TmLanguage/tests/cases/Issue383.tsx

13 строки
376 B
TypeScript

// @onlyOwnGrammar - As this has jsx
const singleLineArrow = (first: number, second: Set<string>) => (<div></div>);
const multilineArrow = (first: number,
second: number[],
) => (<div></div>);
const multilineArrowWithGenericType = (first: number,
second: Set<string>,
) => (<div></div>);
const followup = (first: number, second: Set<string>) => (<div></div>);