22 lines
671 B
Plaintext
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]?) {}
|
|
|
|
================================================================================
|
|
`;
|