client does not exist in type "NeonClient"

Probably been asked a lot of times, but i get this error after copying directly from the docs. Argument of type '[{ client: NeonQueryFunction<boolean, boolean>; }]' is not assignable to parameter of type '[string | NeonClient] | [string | NeonClient, DrizzleConfig<Record<string, never>>] | [DrizzleConfig<Record<string, never>> & (({ ...; } | { ...; }) & { ...; })]'. Type '[{ client: NeonQueryFunction<boolean, boolean>; }]' is not assignable to type '[string | NeonClient] | [DrizzleConfig<Record<string, never>> & (({ connection: string | PoolConfig; } | { client: NeonClient; }) & { ...; })]'. Type '[{ client: NeonQueryFunction<boolean, boolean>; }]' is not assignable to type '[string | NeonClient]'. Object literal may only specify known properties, and 'client' does not exist in type 'NeonClient'.ts(2345) (property) client: NeonClient
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?