Update ts-type-to-grammar.sh
This commit is contained in:
parent
5764d9ffbc
commit
364bf9ec3d
1 changed files with 1 additions and 1 deletions
|
@ -21,6 +21,6 @@ echo "export type MyType = $type" > "$DTS_FILE"
|
|||
# npx typescript-json-schema --defaultProps --required "$DTS_FILE" MyType | tee "$SCHEMA_FILE" >&2
|
||||
|
||||
# https://github.com/vega/ts-json-schema-generator
|
||||
npx ts-json-schema-generator --path "$DTS_FILE" --type MyType -e none | tee "$SCHEMA_FILE" >&2
|
||||
npx ts-json-schema-generator --no-top-ref --path "$DTS_FILE" --type MyType -e none | tee "$SCHEMA_FILE" >&2
|
||||
|
||||
./examples/json-schema-to-grammar.py "$SCHEMA_FILE"
|
Loading…
Add table
Add a link
Reference in a new issue