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

6 lines (5 loc) 311 B
import { LazyDecorator, WrapParams } from '@toss/nestjs-aop'; import { TransactionOptions } from '../interfaces'; export declare class ALSTransactionAspect implements LazyDecorator<any, TransactionOptions> { wrap({ method, metadata }: WrapParams<any, TransactionOptions>): (...args: any) => Promise<any>; }