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

typescript error with 'InternalUnsafeConstructorOption' is declared but never used' #197

Open
sakari opened this issue Apr 6, 2021 · 0 comments

Comments

@sakari
Copy link
Collaborator

sakari commented Apr 6, 2021

We add a type definition to the generated file that is not used unless there are object schemas and that gets flagged by ts 🤦

workaround is to either add a dummy type: object schema or lose the ts check for that somehow. Seems like the check cannot be disabled per file so adding ignores to the header does not work.

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

No branches or pull requests

1 participant