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
After upgrading to React 19, TS compiler gives me an error, that description property is required:
error TS2322: Type '{ children: string; }' is not assignable to type 'IntrinsicAttributes & MergeWithAs<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, never>, AlertProps, "div">'. Property 'description' is missing in type '{ children: string; }' but required in type 'Omit<UseAlertProps, "hasContent">'.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
See the report above.
Expected behavior
Expected behavior in React 19 is the same like in React 18.
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome
The text was updated successfully, but these errors were encountered:
NextUI Version
2.6.10
Describe the bug
When using React 18 this code is TS valid:
After upgrading to React 19, TS compiler gives me an error, that
description
property is required:error TS2322: Type '{ children: string; }' is not assignable to type 'IntrinsicAttributes & MergeWithAs<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, never>, AlertProps, "div">'. Property 'description' is missing in type '{ children: string; }' but required in type 'Omit<UseAlertProps, "hasContent">'.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
See the report above.
Expected behavior
Expected behavior in React 19 is the same like in React 18.
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome
The text was updated successfully, but these errors were encountered: