fluentui
fluentui copied to clipboard
[Feature]: migrate repo to TS 5.2.2
Library
all
Describe the feature that you would like added
New behaviour
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-1.html https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-2.html
web-components:
moduleandmoduleResolutionare not matching in root tsconfig for wc. Since 5.2 typescript throws error.module: NodeNextshould be used and we can omitmoduleResolution, andtargetasnodenextimplies it.
eslint-plugin
moduleResolutionandmodulehave to match, since 5.2 will have error with currently set config flags.
all
- in TS 5.1 explicit typeRoots disables upward walks for node_modules types. Update where necessary.
Have you discussed this feature with our team
@microsoft/react-fliuent-build
Additional context
No response
Validations
- [X] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.
Priority
Normal