prettier/tests/typescript_function_type/__snapshots__/jsfmt.spec.js.snap

20 lines
841 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`type-annotation.ts 1`] = `
====================================options=====================================
parsers: ["typescript"]
printWidth: 80
| printWidth
=====================================input======================================
const foo = (): () => void => (): void => null;
const bar = (): (() => void) => (): void => null;
const baz = (): ((() => void)) => (): void => null;
=====================================output=====================================
const foo = (): (() => void) => (): void => null;
const bar = (): (() => void) => (): void => null;
const baz = (): (() => void) => (): void => null;
================================================================================
`;