UNPKG

@malagu/core

Version:
16 lines 849 B
import { interfaces } from 'inversify'; export declare const VALUE: unique symbol; export interface ValueOption { el?: string; detached?: boolean; } export declare type ElOrValueOption = string | ValueOption; export declare const Value: (elOrOption?: ElOrValueOption) => PropertyDecorator & ParameterDecorator; export declare function parseValueOption(target: any, targetKey: string, index?: number, elOrOption?: ElOrValueOption): { el?: string | undefined; detached?: boolean | undefined; }; export declare function applyValueDecorator(option: ValueOption, target: any, targetKey: string, index?: number): ValueOption | undefined; export declare function createValueProperty(option: ValueOption, target: any, property: string): void; export declare function bindValue(bind: interfaces.Bind): any; //# sourceMappingURL=value.d.ts.map