Flowtype for json files
Open
feature request
- Dominant language
- Rust
- Stars
- 22.3k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
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)?
Contributor guide
Assessment
This issue has not been assessed yet.