For some time now we've been getting this error:
Property 'cs' is missing in type '{ children: (ReactNode | Element)[]; ref: RefObject<HTMLDivElement> | null | undefined; css: any; }' but required in type 'Pick<ModalWindowProps, keyof MotionProps | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | ... 248 more ... | "cs">'.ts(2741)
I think it may be related to the update of @types/react which is now 18.2.38.
I didn't have time to investigate it.
twin.macro version: 3.4.0.
For some time now we've been getting this error:
I think it may be related to the update of
@types/reactwhich is now18.2.38.I didn't have time to investigate it.
twin.macro version: 3.4.0.