UNPKG

kindagoose

Version:
10 lines 619 B
import { ScopeOptions } from '@nestjs/common'; import { AnyClass } from '../interfaces/any-class.interface'; /** * Mark a class as an event tracker. * @param {AnyClass} schema - Typegoose class that will apply listeners of this tracker. * @param {ScopeOptions} injectionOptions - Injection scope options. * @constructor */ export declare const EventTrackerFor: (schema: AnyClass, injectionOptions?: ScopeOptions) => <TFunction extends Function, Y>(target: TFunction | object, propertyKey?: string | symbol, descriptor?: TypedPropertyDescriptor<Y>) => void; //# sourceMappingURL=event-tracker-for.decorator.d.ts.map