TypeScript Object.keys

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