Closed nmetulev closed 3 years ago
Hello nmetulev, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌
Description
mgt-react should export types used by mgt-react components
Rationale
Today, the developer is required to import from both
@microsoft/mgt
and@microsoft/mgt-react
. This proposal would allow the types to be re-exported from mgt-react so only one import statement is needed for most scenarios.Preferred solution
Update the generator code to add an export statement at the end for the same types that are imported at the top.