-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Type error: Don't use {}
as a type
#332
Comments
The error seems to be coming from typescript-eslint. What do you suggest the replacement should be? |
I don't really see why |
It needs to give a TS error when accessing a property, whereas |
Actually, |
Bug report
Describe the bug
With v2 I get this error after having generated types, probably because of TS strict mode:
due to the generated types including this:
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
TypeScript strict mode probably needs to be enabled.
Run
supabase gen types typescript --local > databaseDefinitions.ts
System information
The text was updated successfully, but these errors were encountered: