Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.

Add support for declare module.exports #72

Merged
merged 3 commits into from
Jul 28, 2016
Merged

Add support for declare module.exports #72

merged 3 commits into from
Jul 28, 2016

Conversation

danez
Copy link
Member

@danez danez commented Jul 9, 2016

This adds support for declare module.exports.

closes #70
This PR is one part, the other part is in babel. babel/babel#3570

pp.flowParseDeclareModuleExports = function (node) {
this.next(); // module
this.next(); // .
this.eatContextual('exports');
Copy link
Contributor

@jamiebuilds jamiebuilds Jul 10, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double quotes

fuck ya they're rad ok

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

damit :D

@hzoo
Copy link
Member

hzoo commented Jul 12, 2016

👍

@codecov-io
Copy link

codecov-io commented Jul 12, 2016

Current coverage is 97.01%

Merging #72 into master will increase coverage by <.01%

@@             master        #72   diff @@
==========================================
  Files            19         19          
  Lines          2972       2980     +8   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           2883       2891     +8   
  Misses           89         89          
  Partials          0          0          

Powered by Codecov. Last updated by 0b62ece...871f4a3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No support for flows declare module.export
5 participants