Skip to content

Commit 1ebe00e

Browse files
committed
Apply change
1 parent 07d8883 commit 1ebe00e

1 file changed

Lines changed: 25 additions & 27 deletions

File tree

tests/format/typescript/assignment/__snapshots__/jsfmt.spec.js.snap

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -340,34 +340,32 @@ const MyComponent2: React.VoidFunctionComponent<MyComponent2Props> = ({
340340
);
341341
};
342342
343-
const MyComponentWithLongName1: React.VoidFunctionComponent<
344-
MyComponentWithLongNameProps
345-
> = ({ x, y }) => {
346-
const a = useA();
347-
return (
348-
<div>
349-
x = {x}; y = {y}; a = {a}
350-
</div>
351-
);
352-
};
343+
const MyComponentWithLongName1: React.VoidFunctionComponent<MyComponentWithLongNameProps> =
344+
({ x, y }) => {
345+
const a = useA();
346+
return (
347+
<div>
348+
x = {x}; y = {y}; a = {a}
349+
</div>
350+
);
351+
};
353352
354-
const MyComponentWithLongName2: React.VoidFunctionComponent<
355-
MyComponentWithLongNameProps
356-
> = ({
357-
x,
358-
y,
359-
anotherPropWithLongName1,
360-
anotherPropWithLongName2,
361-
anotherPropWithLongName3,
362-
anotherPropWithLongName4,
363-
}) => {
364-
const a = useA();
365-
return (
366-
<div>
367-
x = {x}; y = {y}; a = {a}
368-
</div>
369-
);
370-
};
353+
const MyComponentWithLongName2: React.VoidFunctionComponent<MyComponentWithLongNameProps> =
354+
({
355+
x,
356+
y,
357+
anotherPropWithLongName1,
358+
anotherPropWithLongName2,
359+
anotherPropWithLongName3,
360+
anotherPropWithLongName4,
361+
}) => {
362+
const a = useA();
363+
return (
364+
<div>
365+
x = {x}; y = {y}; a = {a}
366+
</div>
367+
);
368+
};
371369
372370
const MyGenericComponent: React.VoidFunctionComponent<
373371
MyGenericComponentProps<number>

0 commit comments

Comments
 (0)