typealias ReadonlyCollection

export type ReadonlyCollection<Key, Value> = Omit<Collection<Key, Value>, 'delete' | 'ensure' | 'forEach' | 'get' | 'reverse' | 'set' | 'sort' | 'sweep'> & ReadonlyMap<Key, Value>;

Represents an immutable version of a collection

Type Parameters

Key

Value

Union Members

Omit<Collection<Key, Value>, 'delete' 'ensure' 'forEach' 'get' 'reverse' 'set' 'sort' 'sweep'> & ReadonlyMap<Key, Value>