You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, when I run tsc --noEmit I get error after cloning this repo. Error can also be reproduced by running yarn build.
$ yarn tsc --noEmit
yarn run v1.22.22
layout/AppMenuitem.tsx:50:13 - error TS2769: No overload matches this call.
Overload 1 of 2, '(props: CSSTransitionProps<HTMLElement | undefined>): CSSTransition<HTMLElement | undefined>', gave the following error.
Type 'Element' is not assignable to type'TransitionChildren'.
Property 'children' is missing intype'Element' but required intype'ReactPortal'.
Overload 2 of 2, '(props: CSSTransitionProps<HTMLElement | undefined>, context: any): CSSTransition<HTMLElement | undefined>', gave the following error.
Type 'Element' is not assignable to type'TransitionChildren'.
50 <ul>~~~~
51 {item!.items.map((child, i) => { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...53 })} ~~~~~~~~~~~~~~~~~~~54 </ul> ~~~~~~~~~~~~~~~~~ node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:378:9378 children: ReactNode; ~~~~~~~~ 'children' is declared here. node_modules/@types/react-transition-group/Transition.d.ts:124:5124 children?: TransitionChildren | undefined; ~~~~~~~~ The expected type comes from property 'children' which is declared here on type 'IntrinsicAttributes & (IntrinsicClassAttributes<CSSTransition<HTMLElement | undefined>> & Readonly<...>)' node_modules/@types/react-transition-group/Transition.d.ts:124:5124 children?: TransitionChildren | undefined; ~~~~~~~~ The expected type comes from property 'children' which is declared here on type 'IntrinsicAttributes & (IntrinsicClassAttributes<CSSTransition<HTMLElement | undefined>> & Readonly<...>)'Found 1 error in layout/AppMenuitem.tsx:50
The text was updated successfully, but these errors were encountered:
Spike433
changed the title
layout/AppMenuitem.tsx:50:13 - error TS2769: No overload matches this call.
layout/AppMenuitem.tsx:50:13 - No overload matches this call.
Oct 26, 2024
Hello, when I run
tsc --noEmit
I get error after cloning this repo. Error can also be reproduced by runningyarn build
.The text was updated successfully, but these errors were encountered: