-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Description
Is there a way to define a flowtype for a json file?
I manage a bunch of configuration files in json, and I would love to be able to define a schema for these files so that I can get warnings in my editor when updating them.
The way I imagine this working is perhaps either mapping *.sometype.json or file.json to a js file containing my type definitions in my ~/.flowconfig
Could you let me know if this is possible out of the box (or if you have ideas on how I might go about hacking this to work)?
Reactions are currently unavailable