State of the TypeScript migration #4407
Unanswered
nunomaduro
asked this question in
General
Replies: 1 comment
-
|
Thanks for bootstrapping this task. To add on the migration process: if you feel adventurous, you can also migrate the Preact components 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey team, the goal of this discussion is share thoughts of the TypeScript migration.
Jira Task: IFW-1152
This need to reviewed, tested, and merged: #4408.
Current content migrated: 45%. The more complicated connectors/widgets are done.
The amount of time needed to migrated the remaining 55% it may take 4 weeks of work. It's easy task, but very time consuming to do it right.
Note that, this migration is focus on the public API of connectors/widgets, and not on making internals strict.
How to migrate a connector/widget
First, you migrate the entire connector folder. Keep in mind,
that for each connector you need to export:
Next, you migrate the entire widget folder. Keep in mind,
that for each widget you need to export:
Finally, you need to upgrade the stories to used the typed
widget/connectors replacing:
Beta Was this translation helpful? Give feedback.
All reactions