|
|
|
|
|
by inbx0
1891 days ago
|
|
Please do if it's not too much trouble. We have gone back and forth with this idea but never did make the jump. A few random questions off of the top of my head... Did you use a tool like flow-to-ts to help with some of the rewrites? What version of Flow were you using before? Did you take some special steps to get the TS perform well in the project or was it just better out of the box? How's the experience been apart from the performance improvement - is there Flow features that you miss and have you done something to accommodate? Namely, I'm personally a bit sad to loose local function parameter inference, exact types and explcit type assertion syntax.
I'm a bit afraid of bugs coming from excess properties or misspelled optional properties, or from the abuse of TS "as" keyword (which is not the same as Flow's `(foo: Foo)` assertion syntax). |
|