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

deno-sqlite runs on Deno 2, but Typescript check fails #265

Closed
teleclimber opened this issue Oct 2, 2024 · 0 comments · Fixed by #266
Closed

deno-sqlite runs on Deno 2, but Typescript check fails #265

teleclimber opened this issue Oct 2, 2024 · 0 comments · Fixed by #266

Comments

@teleclimber
Copy link
Contributor

With deno 2 rc9 installed I cloned this repo and ran the deno tests in src/ and got:

src $ deno test
error: TS2339 [ERROR]: Property 'message' does not exist on type '{}'.
        `Error in user defined function '${name}': ${error?.message}`,
                                                            ~~~~~~~
    at file:///deno-sqlite/src/function.ts:143:61

With --no-check it works:

ok | 77 passed | 0 failed | 5 ignored (521ms)

So things look good for Deno 2 apart from the above.

teleclimber added a commit to teleclimber/deno-sqlite that referenced this issue Oct 3, 2024
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

Successfully merging a pull request may close this issue.

1 participant