link-stack/metamigo-common/db/types.ts

9 lines
314 B
TypeScript
Raw Normal View History

2023-02-13 12:41:30 +00:00
import * as PGP from "pg-promise";
import * as PGPTS from "pg-promise/typescript/pg-subset";
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export type IDatabase = PGP.IDatabase<any>;
export type IMain = PGP.IMain;
export type IResult = PGPTS.IResult;
export type IInitOptions = PGP.IInitOptions;