UNPKG

486 BTypeScriptView Raw
1import { Entity, Constructable } from '../entity';
2/**
3 * Helper function that maps an entity to its keys map with their original names.
4 * @param entity - Entity to map
5 * @param entityConstructor - The constructor of the entity
6 * @returns object that includes all keys that represent given entity
7 */
8export declare function getEntityKeys<EntityT extends Entity>(entity: EntityT, entityConstructor: Constructable<EntityT>): Record<string, any>;
9//# sourceMappingURL=get-keys.d.ts.map
\No newline at end of file