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

8 lines (7 loc) 292 B
import { TransactionOptions } from '../interfaces'; /** * Transaction Decorator (for Method) * @param options Set options for transaction propagation and isolation levels * @returns MethodDecorator */ export declare const Transactional: (options?: TransactionOptions) => MethodDecorator;