TS2315 [ERROR]: Type 'Conn' is not generic.
sharonjl opened this issue · comments
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
This happens when you upgrade from 1.9.0 -> 1.9.1, as we just discovered upgrading.
I added a PR with a fix 💪🏻 #282