forked from atlassian/extract-react-types
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support decorators + fix issue related to custom props in functions (a…
…tlassian#54) * fix: Fix decorator support and allow default props to be missing * test: Add tests to cover addDefaultProps fix * test: Add a test against decorator support in typescript * fix: Fix lookup for nested type names I.e. Texture["foo"]. Previously it returned `[Object object].foo`. Now it captures the correct name. * fix: Include `key` field to ´TSTypeReference` This way array definitions contain keys. Previously this information wasn't included making it impossible to introspect. * chore: Add a flow fixme to make the build pass
- Loading branch information
Showing
3 changed files
with
241 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters