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

22 lines
671 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`destructuring.ts 1`] = `
====================================options=====================================
parsers: ["typescript"]
printWidth: 80
| printWidth
=====================================input======================================
({ foo = [] } = bar);
function f({ x }?) {}
function g([ x ]?) {}
=====================================output=====================================
({ foo = [] } = bar);
function f({ x }?) {}
function g([x]?) {}
================================================================================
`;