16 lines
428 B
Plaintext
16 lines
428 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`func_inside_attr.js 1`] = `
|
|
<bar x={function (x): Array<string> {}} />
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
<bar x={function(x): Array<string> {}} />;
|
|
|
|
`;
|
|
|
|
exports[`return_type.js 1`] = `
|
|
const fail = (): X => <x />;
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
const fail = (): X => <x />;
|
|
|
|
`;
|