Skip to content

webshrine / stdtyp/src / AnyObject

Type Alias: AnyObject

AnyObject: Record<PropertyKey, any>

Any array alias, focused to be used in generic types in environment with "any-phobic" eslint rules

Example

ts
function process<T extends AnyRecord>(data: T) { ... }

Defined in

packages/stdtyp/src/aliases/index.ts:23