Typescript Object.Keys

const keys = Object.keys(objectName) as Array<keyof typeof objectName>
florinrelea