Skip to content

Latest commit

 

History

History
83 lines (47 loc) · 2.02 KB

CHANGELOG.md

File metadata and controls

83 lines (47 loc) · 2.02 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[2.0.4] - 2023-08-29

Fixed

  • Remove the separate types, reference React.FunctionComponent return type directly.

[2.0.3] - 2023-07-13

Fixed

  • Correctly publish the separate types

[2.0.2] - 2023-07-13

Fixed

  • Add separate types for older TypeScript versions

[2.0.1] - 2023-07-13

Fixed

  • update return type for @types/react

2.0.0 - 2021-07-11

Added

  • type inference for event parameters (fixes #8)

1.1.0 - 2021-04-02

Added

  • docs: add deprecation note about exotic components

Changed

  • docs: simplify forwarded ref type

1.0.3 - 2020-12-27

Fixed

  • docs: fix HeadingDefaultElement references
  • docs: fix ref forwarding example

1.0.2 - 2020-12-27

Changed

  • block external access to auxiliary types
  • reference @types/react explicitly

1.0.1 - 2020-12-27

Removed

  • readme: misleading bundle size badge

1.0.0 - 2020-12-27

Added

  • PolymorphicPropsWithoutRef and PolymorphicPropsWithRef types for appending as to component props
  • PolymorphicForwardRefExoticComponent, PolymorphicMemoExoticComponent and PolymorphicLazyExoticComponent types to support exotic components