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

Add Typed Responses to Sqlite Queries That Are Current "any" type #7

Open
owenkellogg opened this issue Jun 22, 2023 · 0 comments
Open

Comments

@owenkellogg
Copy link

./src/database.ts defines a large number of sqlite queries which return Unknown types.

An ideal solution would be to allow Statement to be a generic template that can define the return type such as Statement<params P, returns R>.

Lacking such a most elegant solution, define return types for each statement.

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