-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: react-utilities
ships incompatible types for TS version 4.4 - 4.6
#27951
Comments
react-utilities
ships incompatible types for TS version 4.4 - 4.6
Does this example solve this @Hotell? on the playground provided the problem seemed to be the presence of |
🎉This issue was addressed in #27936, which has now been successfully released as Handy links: |
🎉This issue was addressed in #27936, which has now been successfully released as Handy links: |
🎉This issue was addressed in #27936, which has now been successfully released as Handy links: |
🎉This issue was addressed in #27936, which has now been successfully released as Handy links: |
🎉This issue was addressed in #27936, which has now been successfully released as Handy links: |
🎉This issue was addressed in #27936, which has now been successfully released as Handy links: |
🎉This issue was addressed in #27936, which has now been successfully released as Handy links: |
🎉This issue was addressed in #27936, which has now been successfully released as Handy links: |
Library
React Components / v9 (@fluentui/react-components)
System Info
Are you reporting Accessibility issue?
None
Reproduction
while
dts-check
tool is not publicly available yet you can do following:check playground
bump TS to 4.4 within fluent monorepo
yarn workspace @fluentui/react-utilities type-check
Bug Description
Actual Behavior
TS 4.4 introduced better
lib.d.ts
declarations which align/follow stable apis supported by real browsers https://devblogs.microsoft.com/typescript/announcing-typescript-4-4/#breaking-changes. Also new approach of how one can use custom standard lib has been introduced.This change removed several APIs that were not supported by browsers at time of TS 4.4 release etc. one of those api is
DialogElement
microsoft/TypeScript-DOM-lib-generator#1029.Based on fluent browser matrix support we cannot use native Dialog api nor types so it should be removed in order to support users and our codebase to use TS 4.4, 4.5 and 4.6.
Error log:
Expected Behavior
v9 ships valid types for TS 4.4 - 4.6
Logs
No response
Requested priority
Blocking
Products/sites affected
No response
Are you willing to submit a PR to fix?
yes
Validations
The text was updated successfully, but these errors were encountered: