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
from*
Given the following snippet from a JSON Schema:
{ "shell": { "anyOf": [ { "type": "string" }, { "type": "string", "enum": ["bash", "pwsh", "python", "sh", "cmd", "powershell"] } ] } }
Will produce invalid code, where fromString is duplicated:
fromString
export class Shell { public static fromString(value: string): Shell { return new Shell(value); } public static fromString(value: string): Shell { return new Shell(value); } private constructor(public readonly value: string | string) { } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given the following snippet from a JSON Schema:
Will produce invalid code, where
fromString
is duplicated:The text was updated successfully, but these errors were encountered: