Skip to content

Commit ebc74ec

Browse files
committed
Add AnyObject helper type
1 parent e4b652d commit ebc74ec

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/toolkit/src/tsHelpers.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,3 +245,10 @@ export type AnyFunction = (...args: any[]) => any
245245
* @internal
246246
*/
247247
export type EmptyObject = Record<string, never>
248+
249+
/**
250+
* Represents a generic object with `string` keys and values of `any` type.
251+
*
252+
* @internal
253+
*/
254+
export type AnyObject = Record<string, any>

0 commit comments

Comments
 (0)