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
When using LocalizedLink Typescript requires property 'language' witch sould be an optional propery based on your example.
issue is on index.d.ts
export functionLocalizedLink({ to, language, ...props}: {[x: string]: any;to: any;language: any;/* this sould be optional "language?: any" */}): JSX.Element;
TS2741: Property 'language' is missing in type '{ children: ReactNode; to: string; className: string; }' but required in type '{ [x: string]: any; to: any; language: any; }'.
The text was updated successfully, but these errors were encountered:
When using LocalizedLink Typescript requires property 'language' witch sould be an optional propery based on your example.
issue is on index.d.ts
TS2741: Property 'language' is missing in type '{ children: ReactNode; to: string; className: string; }' but required in type '{ [x: string]: any; to: any; language: any; }'.
The text was updated successfully, but these errors were encountered: