9 lines
315 B
TypeScript
9 lines
315 B
TypeScript
declare type Address = string
|
|
declare type AddressTo<T> = Record<Address, T>
|
|
|
|
declare type Nullable<T> = T | null
|
|
declare type Maybe<T> = Nullable<T> | undefined
|
|
|
|
declare type Primitive = number | string | boolean | bigint | symbol | null | undefined
|
|
|
|
declare type ValuesOf<T extends readonly unknown[]> = T[number] |