fix: this end is not a function error #1668
Annotations
3 errors
Build with docker
buildx failed with: ERROR: failed to solve: process "/bin/sh -c npm run build && npm prune --omit=dev" did not complete successfully: exit code: 2
|
Test:
src/lib/db.ts#L59
Type '(config: PoolConfig) => { query(sql: string): Promise<{ data: any[]; error: null; } | { data: null; error: any; } | undefined>; end(): Promise<void>; }' is not assignable to type '(config: PoolConfig) => { query: (sql: string) => Promise<PostgresMetaResult<any>>; end: () => Promise<void>; }'.
|
Test
Process completed with exit code 2.
|