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
It would be nice to allow some flag which results in use of unknown instead of any in the generated types.
The text was updated successfully, but these errors were encountered:
Currently as I'm only generating types I'm doing this:
lines.map(line => // Convert any to unknown. Related: line.replace(/([ <,])any\b/g,"$1unknown") ).join("\n")
Sorry, something went wrong.
feat: add support for unknown in typescript
762064c
Adds support for `unknown` (and it's flow equivalent) in TypeScript. Closes glideapps#1619
Successfully merging a pull request may close this issue.
It would be nice to allow some flag which results in use of unknown instead of any in the generated types.
The text was updated successfully, but these errors were encountered: