This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Releases: Khan/flow-to-ts
Releases · Khan/flow-to-ts
v0.5.2
v0.5.1
v0.5.0
Breaking:
flow-to-ts
node module now exportsconvert
as a named export
Other:
- upgrade dev dependencies (jest, babel modules, etc.) in root and playground/
- replace babel-traverse/ and babel-types/ with
babel
submodule - skip metlife build for dependant PRs
v0.4.1
Breaking Changes:
- Use Record for object types with a single indexer (#244)
Fixes:
- Attach comments to replacement nodes, track comments for more nodes (#233)
- Remove all flow pragmas, convert flow suppressions (#241)
New Features:
- Add support for callables, fixes #128 (#242)
- Inline PropertyType utility type (#238)
- Convert ElementConfig to JSX.LibraryManagedAttributes, fixes #155 (#240)
- Handle variance sigils on class properties, fixes #149 (#243)
- Handle private/global React types, fixes #195 (#245)
- extract utility-types.js and convert FlowFixMe to any, fixes #200 (#247)
Other changes:
- Split transform.js into multiple files (#246)
v0.3.0
v0.2.2
v0.2.1
v0.2.0
Bug fixes:
- prettier can now be used with code that uses optional chaining and nullish coalescing
Breaking changes:
- babel dependencies have been upgraded and vendored version of
@babel/generator
has been abandoned. The result is that some blank lines will be removed and in some case trailing comments that would normally appear on the next line now appear at the end of the previous line.