jsonArrayFrom with `as` not being typed
I have the following query
but the resulting query is not seeing the jsonArrayFrom field with the name
books
, rather it types it like this:
How can i fix this?Solution:Jump to solution
so Im using deno, and it uses import maps to import deps, I have these 2 import paths set up:
I forgot to bump the helper path version to 0.27.3 as well š¤¦āāļø...
14 Replies
Hey š
This works fine in the playground.
Is
tsconfig.json#compilerOptions.strict
not true
by any chance?let me check
yes, it is true
hey, somethign weird, this happens on kysely v 0.27.3, not on 0.27.2
hmmmm
esm.sh CDN has a kysely version for 0.27.3, but the GH releases stop at 0.27.2
it works for 0.27.2
the playground can use 0.27.3, 0.27.2, etc.
this is something local
what typescript version?
what chagnes occurred for .3? I dont see them in the release notes. Im using TS 5.4.4
We haven't posted a release, nothing major
its strange that there is no TS problem on 0.27.2 but there is for 0.27.3, using the same TS version
can you share your
Database
interface with just the two tables?sure, one sec
can you share the definition of
DBTeimstampTZ
?updated*
where did you import
jsonArrayFrom
from ?aaaaaaaah
š
Solution
so Im using deno, and it uses import maps to import deps, I have these 2 import paths set up:
I forgot to bump the helper path version to 0.27.3 as well š¤¦āāļø
now its fixed, thanks š