AnyKey: {
    [name: string]: any;
}

For Javascript users:

This is a marker type for primary keys, index keys, full or partial. The key is represented in the same way as AnyRow, as plain JavaScript object, but only key fields are included.

Typescript-specific:

This type is used as a default for TKey type parameter for APIs such as get, delete and others when using default value for TRow type parameter (see AnyRow). It represents object of any type.

The users are encouraged to define interface or type that describes the shape of their table rows and use it as TRow type parameter for these APIs.

Type declaration

  • [name: string]: any

Generated using TypeDoc