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
Converting the following definitions
{ "id": "Foo", "type": ["object", "null"], "properties": { "bar": { "type": "string" } } }
The following values are returned.
export type Foo = { bar?: string } | { bar?: string };
I think that the type definitions below should be returned correctly.
export type Foo = { bar?: string } | null;
I wrote the reproduction code.
https://github.com/sakai-akinobu/investigation-of-json-schema-to-flow-type-with-union-type
environment
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Converting the following definitions
The following values are returned.
I think that the type definitions below should be returned correctly.
I wrote the reproduction code.
https://github.com/sakai-akinobu/investigation-of-json-schema-to-flow-type-with-union-type
environment
The text was updated successfully, but these errors were encountered: