Skip to content
This repository has been archived by the owner on Sep 21, 2019. It is now read-only.

Releases: lyft/react-javascript-to-typescript-transform

V1.4.0

29 Mar 18:34
Compare
Choose a tag to compare

Changes

V1.3.0

22 Jan 00:26
Compare
Choose a tag to compare
  • Upgraded to use TypeScript 2.6
  • Support more prop types such as PropTypes.oneOfType, ``PropTypes.shape` and more. #19
  • Use Prettier to print prettier output #25
  • Support multiple components in the same file #30
  • Remove unnecessary import of "prop-types" package #19
  • Uses Yarn and Prettier now

Big thanks to @vincentbel for their contributions to this release!

V1.2.0

16 Jul 23:33
Compare
Choose a tag to compare

New Features

  • Default to {} for empty state
  • Use ? token for optional props instead of | undefined union
  • Use React.ReactNode for type of PropTypes.node props