UNPKG

@malagu/core

Version:
14 lines 758 B
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 | undefined) => 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; //# sourceMappingURL=value.d.ts.map