prettier/tests/typescript_function_type/type-annotation.ts

4 lines
150 B
TypeScript

const foo = (): () => void => (): void => null;
const bar = (): (() => void) => (): void => null;
const baz = (): ((() => void)) => (): void => null;