alsatian
Version:
TypeScript and JavaScript testing framework for beautiful and readable tests
3 lines (2 loc) • 304 B
TypeScript
export declare type ClassAndMethodDecorator<T> = ((target: T | (new (...args: Array<any>) => T), propertyKey?: keyof T, descriptor?: TypedPropertyDescriptor<T>) => void);
export declare function createClassAndMethodDecorator<T>(decoratorFunction: ClassAndMethodDecorator<T>): ClassAndMethodDecorator<T>;