@minimaltech/electron-infra
Version:
Minimal Technology ElectronJS Infrastructure
7 lines (6 loc) • 555 B
TypeScript
import { DecoratorOptions } from '@minimaltech/node-infra/@lb/core';
import { IExposeMetadata } from '../../common';
export declare function expose(spec: IExposeMetadata, opts?: DecoratorOptions): MethodDecorator;
export declare function handler(spec?: Omit<IExposeMetadata, 'verb'>, opts?: DecoratorOptions): MethodDecorator;
export declare function subscriber(spec?: Omit<IExposeMetadata, 'verb'>, opts?: DecoratorOptions): MethodDecorator;
export declare function sender(spec?: Omit<IExposeMetadata, 'verb'>, opts?: DecoratorOptions): MethodDecorator;