mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-25 14:07:58 +00:00
a5542fdd87
- Fixed internal @polkadot references to @pezkuwi - Updated hw-ledger and hw-ledger-transports packages - Updated keyring and networks packages - Version 14.0.7
11 lines
309 B
TypeScript
11 lines
309 B
TypeScript
// Copyright 2017-2025 @pezkuwi/util authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
/**
|
|
* @name objectValues
|
|
* @summary A version of Object.values that is typed for TS
|
|
*/
|
|
export function objectValues<T extends object> (obj: T): T[keyof T][] {
|
|
return Object.values(obj) as T[keyof T][];
|
|
}
|