mobx
Version:
Simple, scalable state management.
7 lines (6 loc) • 382 B
TypeScript
export declare function decorate<T>(clazz: new (...args: any[]) => T, decorators: {
[P in keyof T]?: MethodDecorator | PropertyDecorator | Array<MethodDecorator> | Array<PropertyDecorator>;
}): void;
export declare function decorate<T>(object: T, decorators: {
[P in keyof T]?: MethodDecorator | PropertyDecorator | Array<MethodDecorator> | Array<PropertyDecorator>;
}): T;