You need a file.
You need to do the following:
Declare a .flowconfig file (it is automatically created when flow init starts).
Create a folder to store interface files that Meteor ignores, so it does not try to analyze it. Meteor ignores certain folder templates , so you can try mkdir .interfaces . Add the folder to the [libs] section of your .flowconfig , comme รงa:
[libs] .interfaces/
Inside, you can create declarations for your global modules. To create it for Meteor, you can try touch .interfaces/meteor.js and write something on these lines:
declare class Meteor { isClient: boolean; }
Let me know if that works. The flow itself was still learning.
source share