Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YAML support in cli doesn't work #598

Closed
p2004a opened this issue May 30, 2024 · 1 comment
Closed

YAML support in cli doesn't work #598

p2004a opened this issue May 30, 2024 · 1 comment
Labels

Comments

@p2004a
Copy link

p2004a commented May 30, 2024

Readme specifies that you can run json2ts foo.yaml foo.d.ts but that doesn't work, because cli is not using compileFromFile: https://github.com/bcherny/json-schema-to-typescript/blob/master/src/cli.ts#L128-L131.

@bcherny bcherny added the bug label Jun 2, 2024
@bcherny bcherny closed this as completed in b7fee29 Jun 2, 2024
@bcherny
Copy link
Owner

bcherny commented Jun 2, 2024

Fixed in v14.0.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants