File tree Expand file tree Collapse file tree
tests/format/typescript/assignment/__snapshots__ Expand file tree Collapse file tree Original file line number Diff line number Diff 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
372370const MyGenericComponent: React.VoidFunctionComponent<
373371 MyGenericComponentProps<number >
You can’t perform that action at this time.
0 commit comments