nope-js-browser
Version:
NoPE Runtime for the Browser. For nodejs please use nope-js-node
21 lines (20 loc) • 541 B
TypeScript
/**
* @author Martin Karkowski
* @email m.karkowski@zema.de
* @desc [description]
*/
import { IexportAsNopeServiceParameters } from "./container";
/**
* Defintion of a Functon.
*/
export type callable<T> = {
(...args: any[]): T;
};
/**
* Decorator, that will export the Function to a Dispatcher
* @param func The Function
* @param options The Options.
*/
export declare function exportAsNopeService<T>(func: T, options: IexportAsNopeServiceParameters): T & {
options: IexportAsNopeServiceParameters;
};