134 lines
2.1 KiB
Plaintext
134 lines
2.1 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`test.js 1`] = `
|
|
function StatelessFunctionalComponent({
|
|
isActive,
|
|
onFiltersUpdated,
|
|
onSelect,
|
|
onSubmitAndDeselect,
|
|
onCancel,
|
|
searchFilters,
|
|
title,
|
|
items,
|
|
}) {
|
|
return <div />
|
|
}
|
|
|
|
const StatelessFunctionalComponent = ({
|
|
isActive,
|
|
onFiltersUpdated,
|
|
onSelect,
|
|
onSubmitAndDeselect,
|
|
onCancel,
|
|
searchFilters,
|
|
title,
|
|
items,
|
|
}: {
|
|
isActive: number,
|
|
onFiltersUpdated: number,
|
|
onSelect: number,
|
|
onSubmitAndDeselect: number,
|
|
onCancel: number,
|
|
searchFilters: number,
|
|
title: number,
|
|
items: number,
|
|
}) => {
|
|
return <div />
|
|
};
|
|
|
|
class C {
|
|
StatelessFunctionalComponent({
|
|
isActive,
|
|
onFiltersUpdated,
|
|
onSelect,
|
|
onSubmitAndDeselect,
|
|
onCancel,
|
|
searchFilters,
|
|
title,
|
|
items,
|
|
}) {
|
|
return <div />
|
|
}
|
|
}
|
|
|
|
type T = ({
|
|
isActive: number,
|
|
onFiltersUpdated: number,
|
|
onSelect: number,
|
|
onSubmitAndDeselect: number,
|
|
onCancel: number,
|
|
searchFilters: number,
|
|
title: number,
|
|
items: number,
|
|
}) => void;
|
|
|
|
const X = (props: {
|
|
a: boolean,
|
|
}) =>
|
|
<A />;
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
function StatelessFunctionalComponent({
|
|
isActive,
|
|
onFiltersUpdated,
|
|
onSelect,
|
|
onSubmitAndDeselect,
|
|
onCancel,
|
|
searchFilters,
|
|
title,
|
|
items
|
|
}) {
|
|
return <div />;
|
|
}
|
|
|
|
const StatelessFunctionalComponent = ({
|
|
isActive,
|
|
onFiltersUpdated,
|
|
onSelect,
|
|
onSubmitAndDeselect,
|
|
onCancel,
|
|
searchFilters,
|
|
title,
|
|
items
|
|
}: {
|
|
isActive: number,
|
|
onFiltersUpdated: number,
|
|
onSelect: number,
|
|
onSubmitAndDeselect: number,
|
|
onCancel: number,
|
|
searchFilters: number,
|
|
title: number,
|
|
items: number
|
|
}) => {
|
|
return <div />;
|
|
};
|
|
|
|
class C {
|
|
StatelessFunctionalComponent({
|
|
isActive,
|
|
onFiltersUpdated,
|
|
onSelect,
|
|
onSubmitAndDeselect,
|
|
onCancel,
|
|
searchFilters,
|
|
title,
|
|
items
|
|
}) {
|
|
return <div />;
|
|
}
|
|
}
|
|
|
|
type T = ({
|
|
isActive: number,
|
|
onFiltersUpdated: number,
|
|
onSelect: number,
|
|
onSubmitAndDeselect: number,
|
|
onCancel: number,
|
|
searchFilters: number,
|
|
title: number,
|
|
items: number
|
|
}) => void;
|
|
|
|
const X = (props: { a: boolean }) => <A />;
|
|
|
|
`;
|