被りにくい名前にする
This commit is contained in:
parent
8af13a6502
commit
94663e1bf0
2 changed files with 4 additions and 4 deletions
|
|
@ -3,6 +3,6 @@
|
|||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
export function keys<T extends { [x: string]: unknown }>(obj: T): (keyof T)[] {
|
||||
export function getObjKeys<T extends { [x: string]: unknown }>(obj: T): (keyof T)[] {
|
||||
return Object.keys(obj);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue