UNPKG

@homeofthings/node-utils

Version:

HomeOfThings - Node Utils: various utilities and common types

14 lines (13 loc) 362 B
export type { Constructor, JsonValue, Primitive } from 'type-fest'; /** * Generic Dictionary */ export type GenericDictionary<T> = Record<string, T>; /** * Dictionary: { [property: string]: string; } */ export type Dictionary = GenericDictionary<string>; /** * AnyObject with any (unknown) properties */ export type AnyObject = GenericDictionary<unknown>;