/** * Return keys on a type as an array of strings * * @example * ```ts * type Person = { * firstName: string; * lastName: string; * age: number; * } * * const keys = typeKeys(); * console.log(keys); // Output: ["firstName", "lastName", "age"] * ``` * * @return {Array} Available keys */ export function typeKeys() { return Object.keys({}) as Array; }