UNPKG

@sloughrey/mock-typeorm

Version:

Never hit the database again while testing

6 lines (5 loc) 241 B
import { QueryRunner } from "typeorm"; export type QueryRunnerMethods = keyof { [K in keyof QueryRunner as QueryRunner[K] extends (...args: any[]) => any ? K : never]: K; }; export declare const queryRunnerMethods: QueryRunnerMethods[];