Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use arrow syntax for ObjectTypeProperty FunctionTypeAnnotations #3663

Merged

Conversation

zpao
Copy link
Contributor

@zpao zpao commented Aug 18, 2016

This fixes an issue where optional properties would get transformed to
an invalid syntax. The easiest solution was to make all FunctionTypes
get transformed to the arrow syntax (previously everything went the
other way).

This fixes an issue where optional properties would get transformed to
an invalid syntax. The easiest solution was to make all FunctionTypes
get transformed to the arrow syntax (previously everything went the
other way).
@zpao
Copy link
Contributor Author

zpao commented Aug 19, 2016

Filed https://phabricator.babeljs.io/T7564 with a few more details.

@codecov-io
Copy link

codecov-io commented Aug 19, 2016

Current coverage is 88.22% (diff: 100%)

Merging #3663 into master will decrease coverage by <.01%

@@             master      #3663   diff @@
==========================================
  Files           191        191          
  Lines         13603      13598     -5   
  Methods        1424       1424          
  Messages          0          0          
  Branches       3131       3129     -2   
==========================================
- Hits          12002      11997     -5   
  Misses         1601       1601          
  Partials          0          0          

Powered by Codecov. Last update ea69362...5fc97ab

@hzoo
Copy link
Member

hzoo commented Aug 20, 2016

Interesting - lgtm?

@hzoo hzoo added the PR: Bug Fix 🐛 A type of pull request used for our changelog categories label Aug 20, 2016
@hzoo hzoo added this to the Next Patch milestone Aug 20, 2016
@hzoo hzoo merged commit 55f37a1 into babel:master Aug 20, 2016
@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 7, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Bug Fix 🐛 A type of pull request used for our changelog categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants