I'm on 0.18.1 and I get this typescript error to do with client/router/Link.tsx file
Console:
[ Wasp ] client/router/Link.tsx(16,10): error TS2694: Namespace 'React' has no exported member 'JSX'.
File:
export function Link(
{ to, params, search, hash, ...restOfProps }: Omit<RouterLinkProps, "to">
& {
search?: Record<string, string>;
hash?: string;
}
& Routes
): React.JSX.Element {
const toPropWithParams = useMemo(() => {
return interpolatePath(to, params, search, hash)
}, [to, params])
return <RouterLink to={toPropWithParams} {...restOfProps} />
}