repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'IDTEAM-remove-bf-ff' into 'main'
[ProtonMail-WebClient.git]
/
packages
/
components
/
helpers
/
getObjectKeys.ts
blob
9378d20e45cb34496d2e6dab3a9a6d0b2609ef1b
1
export const getObjectKeys = <T>(obj: T | undefined): (keyof T)[] => {
2
return Object.keys(obj || {}) as (keyof T)[];
3
};