Flow Types with Meteor
How to use
- Clone this repo
- Install Flow
How it works
The .interfaces folder contains an partial example definition for
Because in Meteor the globals are just available, we need to use the undocumented syntax
$Exports<'moduleName' to declare the available globals.
This has been pointed out here.
Converting Typescript definitions to Flow
The syntax is quiet similar. Some replacements:
- Remove Static var declarations that have the same name as a class declaration
The full Meteor Typescript definition can be found here.