15 lines
295 B
Plaintext
15 lines
295 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`destructuring.ts 1`] = `
|
|
({ foo = [] } = bar);
|
|
|
|
function f({ x }?) {}
|
|
function g([ x ]?) {}
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
({ foo = [] } = bar);
|
|
|
|
function f({ x }?) {}
|
|
function g([x]?) {}
|
|
|
|
`;
|