* Enforces explicit type imports * Upgrades typescript-eslint * Upgrades eslint related dependencies * Update config * Sync packages mismatches * Syncs prettier version * Linting * Relocks node version * Fixes * Locks @vitejs/plugin-react to 1.3.2 * Linting
6 lines
160 B
TypeScript
6 lines
160 B
TypeScript
import type { Field } from "../types/types";
|
|
|
|
const getFieldIdentifier = (field: Field) => field.identifier || field.label;
|
|
|
|
export default getFieldIdentifier;
|