rrdelaney / ReasonablyTyped

:diamond_shape_with_a_dot_inside: Converts Flow and TypeScript definitions to Reason interfaces
https://rrdelaney.github.io/ReasonablyTyped/
MIT License
518 stars 24 forks source link

Fix build error where Retyped depended on itself #44

Closed zploskey closed 7 years ago

zploskey commented 7 years ago

As we discussed on Discord, the build was failing with this error:

Module Optimizer in directory _build/default/src/retyped depends on Retyped.
This doesn't make sense to me.

Retyped is the main module of the library and is the only module exposed 
outside of the library. Consequently it should be the one dependending 
on all the other modules in the library.

Removing the Retyped. prefixing from the function call fixed the build.

There were no changes to the snapshots.

PR Checklist