Type Helpers
Handy helpers for Typescript types
Installation
yarn add @kalamazoo/type-helpersSome helpers for Typescript typing of Atlaskit
Handy helpers for Typescript types
yarn add @kalamazoo/type-helpers[patch]35d2229b2a:
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
[patch]a2d0043716:
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
[minor]c6efb2f5b6:
Prefix the legacy lifecycle methods with UNSAFE_* to avoid warning in React 16.9+
More information about the deprecation of lifecycles methods can be found here: https://reactjs.org/blog/2018/03/29/react-v-16-3.html#component-lifecycle-changes
[patch]097b696613:
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports
[patch]ecca4d1dbb:
Upgraded Typescript to 3.3.x
[patch]de35ce8c67:
Updates component maintainers
[patch]bbff8a7d87:
Fixes bug, missing version.json file
[patch]18dfac7332:
In this PR, we are:
[patch]d0db01b410:
TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide props as a generic type. This is so that TypeScript can correctly calculate the props and defaultProps of the returned component.
Before:
withAnalyticsEvents()(Button) as ComponentClass<Props>;After:
withAnalyticsEvents<Props>()(Button);[patch]93bcf314c6:
Added missing tslib dep
[patch]b0ef06c685:
[minor]04b70fd86b:
[major]7c17b35107:
[patch]1bcaa1b991:
[patch]90a14be594:
[major]9d5cc39394:
[minor]c3fa0b6:
[patch]b81da9b:
[patch]0a297ba:
[major]bfac186: