We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This would be nice to ensure i don't accidentally try playing with values from responses but create my own local copy instead
Example:
start "" json2ts -i "schemas/pietsmiet.de/*.schema.json" -o "src/responses/pietsmiet.de/" --inferStringEnumKeysFromValues true --readonly true
export interface PietsmietDEConfig { readonly API: Record<string, Record<string, string>>; readonly URLs: Record<string, string>; readonly Limits: Record<string, number>; readonly Orders: Record<string, string>; readonly Platform: Record<string, string>; readonly Stream: Record<string, string>; } ...
The text was updated successfully, but these errors were encountered:
It would make sense to emit all types as readonly, gated behind a --readonly option.
--readonly
Sorry, something went wrong.
readonly
Successfully merging a pull request may close this issue.
This would be nice to ensure i don't accidentally try playing with values from responses but create my own local copy instead
Example:
The text was updated successfully, but these errors were encountered: