Skip to main content

Type Alias: AnyObject<T>

AnyObject<T>: { [K in keyof T]: T[K] }

An object that can have any structure, this is an alternative to NonNullObject for situations where that leads to unexpected type resolutions.

Note that this is still a strictly typed type, it is not simply aliasing any

Type Parameters

Type Parameter
T

Deprecated

Use the object type instead.

Defined in

types.ts:130