UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.

7 lines (6 loc) 211 B
/** * Interface of the entity fields names only (without functions) */ export declare type EntityFieldsNames<Entity = any> = { [P in keyof Entity]: Entity[P] extends Function ? never : P; }[keyof Entity];