Skip to content

Commit

Permalink
MAP-1044 ignore single line lint
Browse files Browse the repository at this point in the history
  • Loading branch information
GurnankCheema committed May 7, 2024
1 parent 6b82bb1 commit 832e6a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/data/dataAccess/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export type QueryPerformer = <R extends QueryResultRow = any, I extends any[] =
values?: I
) => Promise<QueryResult<R>>

// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
export const query: QueryPerformer = (queryTextOrConfig, values?) => pool.query(queryTextOrConfig, values)

export type InTransaction = <R>(callback: (query: QueryPerformer) => Promise<R>) => Promise<R>
Expand Down

0 comments on commit 832e6a1

Please sign in to comment.