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

30 lines
1.2 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`complex.ts 1`] = `
====================================options=====================================
parsers: ["typescript"]
printWidth: 80
| printWidth
=====================================input======================================
type TupleWithRest = [number, ...(1 extends 2 ? string[] : number[])];
=====================================output=====================================
type TupleWithRest = [number, ...(1 extends 2 ? string[] : number[])];
================================================================================
`;
exports[`simple.ts 1`] = `
====================================options=====================================
parsers: ["typescript"]
printWidth: 80
| printWidth
=====================================input======================================
type X = [...number[]];
=====================================output=====================================
type X = [...number[]];
================================================================================
`;