TS2315 [ERROR]: Type 'Conn' is not generic.
sharonjl opened this issue ยท 4 comments
sharonjl commented
Running into this error with deno 1.9.1 and postgres 0.11.1
Not doing much, just importing the module gives this error.
error: TS2315 [ERROR]: Type 'Conn' is not generic.
#conn!: Deno.Conn<Deno.NetAddr>;
~~~~~~~~~~~~~~~~~~~~~~~
at https://deno.land/x/postgres@v0.11.1/connection/connection.ts:149:11
scav commented
This happens when you upgrade from 1.9.0 -> 1.9.1, as we just discovered upgrading.
eveningkid commented
halvardssm commented
I added a PR with a fix ๐ช๐ป #282