furystack-core
Version:
FuryStack framework, Core package
9 lines (8 loc) • 380 B
TypeScript
import { PrimaryKeyDescriptorEntry } from "./PrimaryKeyDescriptorEntry";
export declare function isPrimaryKeyDescriptorEntry(descriptor: any): descriptor is PrimaryKeyDescriptorEntry;
/**
*
* @param target The target obect
* @param propertyKey The property that should be a primary key
*/
export declare function PrimaryKey(target: object, propertyKey: string): void;