Obiekt TypeScript.keys

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