Type alias ValueTypeDescription<TType>

ValueTypeDescription<TType>: `${"string" | "boolean" | "number" | (TType extends string
    ? `${typeof INDEX_ID_KEY}:${TType}`
    : never)}${"?" | ""}`

Used to define the value of a key in a type entry of a IndexedStorage. Valid values are "string", "boolean", "number" and "id:TYPE", with TYPE being one of the types in the definition. In the latter case this means that key points to an identifier of the specified type. A ? can be appended to the type to indicate this key is optional.

Type Parameters

  • TType = string