import { Type, ClassMetadata } from '@ts-ioc/core'; /** * aspect metadata. */ export interface AspectMetadata extends ClassMetadata { /** * set pointcut in the type only. * * @type {(Type | Type[])} * @memberof AspectMetadata */ within?: Type | Type[]; /** * set pointcut in the class with the annotation decorator only. * * @type {string} * @memberof AspectMetadata */ annotation?: string | Function; }