UNPKG

nestjs-transaction

Version:

A library that extracts and provides only some of the functions of the 'typeorm-transactional' npm module that are needed to operate in the Nestjs + TypeORM environment

3 lines (2 loc) 203 B
import { TransactionOptions } from '../interfaces'; export declare const runInTransaction: <Func extends (this: unknown) => ReturnType<Func>>(fn: Func, options?: TransactionOptions) => ReturnType<Func>;