vue-facing-decorator
Version:
Vue typescript class and decorator based component.
13 lines • 341 B
TypeScript
type Creator = {
(options: any, key: string): void;
};
export interface Record {
key: string;
creator: Creator;
preserve: boolean;
}
export declare function createDecorator(creator: Creator, opt?: {
preserve?: boolean;
}): (arg: any, ctx: string | DecoratorContext) => any;
export {};
//# sourceMappingURL=custom.d.ts.map