Interface BaseObj

Represents a base object with an optional id property.

The type of the object's properties.

interface BaseObj {
    id?: string;
    [key: string]: unknown;
}

Hierarchy

  • Record<string, unknown>
    • BaseObj

Implemented by

Indexable

  • [key: string]: unknown

Properties

Properties

id?: string

Optional unique identifier for the object.