@ayanaware/bento
Version:
Modular runtime framework designed to solve complex tasks
8 lines (7 loc) • 321 B
TypeScript
import { EntityReference } from '../entities/types/EntityReference';
export interface ParentInjection {
reference: EntityReference;
propertyKey: string | symbol;
}
export declare function getParent(target: Function): ParentInjection;
export declare function Parent(reference: EntityReference): PropertyDecorator;