fix(ReadonlyCollection): omit clear method (#10148)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Almeida
2024-02-23 09:02:24 +00:00
committed by GitHub
parent f67da74a5a
commit c8bbdb70f2

View File

@@ -15,7 +15,7 @@ export interface CollectionConstructor {
*/ */
export type ReadonlyCollection<Key, Value> = Omit< export type ReadonlyCollection<Key, Value> = Omit<
Collection<Key, Value>, Collection<Key, Value>,
'delete' | 'ensure' | 'forEach' | 'get' | 'reverse' | 'set' | 'sort' | 'sweep' 'clear' | 'delete' | 'ensure' | 'forEach' | 'get' | 'reverse' | 'set' | 'sort' | 'sweep'
> & > &
ReadonlyMap<Key, Value>; ReadonlyMap<Key, Value>;