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 that is implemented and setup - we can enable --isolatedDeclarations tsc emit that is also supported by swc cli (via jsc.experimental.emitIsolatedDts )
Area
React Components (@fluentui/react-components)
Describe the feature that you would like added
ATM our public APIs rely on TypeScript inference.
Example:
⬇️ tsc emit ⬇️
This introduces various drawbacks:
.d.ts
The ask here is to mitigate these drawbacks
Solution proposal:
we can enforce these behaviours via existing lint rules
After that is implemented and setup - we can enable --isolatedDeclarations tsc emit that is also supported by swc cli (via
jsc.experimental.emitIsolatedDts
)⬇️ tsc emit ⬇️
Additional context
FluentProvider
types to avoid implicit import in API definition #33590 (comment)eslint
rule to enforce style hook API consistency #30385Have you discussed this feature with our team
No response
Validations
Priority
None
The text was updated successfully, but these errors were encountered: