Type Alias Dictionary<T>

Dictionary<T>: {
    [key: string]: Optional<T>;
}

An object with arbitrary string-indexed values of an optional generic type Optional<T>. T defaults to unknown when not explicitly supplied. For convenient iteration of definitely assigned (i.e. non-nullable) entries, keys, and values, see the following functions: definiteEntriesOf, definiteKeysOf, and definiteValuesOf.

Type Parameters

  • T = unknown