UNPKG

nope-js-browser

Version:

NoPE Runtime for the Browser. For nodejs please use nope-js-node

23 lines (22 loc) 1.09 kB
/** * @author Martin Karkowski * @email m.karkowski@zema.de */ import { IEventOptions, IServiceOptions, INopeModule } from "../types/nope/nopeModule.interface"; /** * Decorator, used to export the Method as Service to Nope.. * @param options The options used for linking. */ export declare function nopeMethod(options: IServiceOptions): (target: INopeModule, methodName: string, descriptor: PropertyDescriptor) => void; /** * Decorator, will link the Parameter to Nope and make it available. it available as * Nope-Property. * @param options The Options, describing the settings for linking. */ export declare function nopeProperty(options: IEventOptions): (target: INopeModule, propertyKey: string, descriptor: PropertyDescriptor) => void; /** * Decorator, that will link the Parameter to Nope and make it available as * Event Emitter. * @param options The Options, describing the settings for linking. */ export declare function nopeEmitter(options: IEventOptions): (target: INopeModule, propertyKey: string, descriptor: PropertyDescriptor) => void;