1.0.0 • Published 1 year ago
type-annotation-to-json-schema v1.0.0
type-annotation-to-json-schema
Generates JSON schemas from Flow and TypeScript type annotations.
CLI
type-annotation-to-json-schema <file> <identifier>
convert a type to JSON Schema
Positionals:
file
identifier
Options:
--version Show version number [boolean]
--help Show help [boolean]
--defaultExact whether to treat ambiguously exact objects as exact or inexact
[boolean]
1.0.0
1 year ago