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
Currently using the library you would pass your type as such
type User = { email: string password: string } const [user] = await sql<U͟s͟e͟r[]>` SELECT * FROM example; `; console.log(user.email);
Though its not a huge deal I feel as code quality would be better with simply omitting it
type User = { email: string password: string } const [user] = await sql<U͟s͟e͟r>` SELECT * FROM example; `; console.log(user.email);
You can even see an example of this on the typescript documentation
The text was updated successfully, but these errors were encountered:
Any updates on this?
Sorry, something went wrong.
No branches or pull requests
Currently using the library you would pass your type as such
Though its not a huge deal I feel as code quality would be better with simply omitting it
You can even see an example of this on the typescript documentation
The text was updated successfully, but these errors were encountered: