export function keys(object: T): (keyof T)[] { return Object.keys(object) as (keyof T)[]; }