mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
types(ReadonlyCollection): derivation logic (#10964)
types(collection): ReadonlyCollection derivation logic Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
export type ReadonlyCollection<Key, Value> = Omit<
|
||||
Collection<Key, Value>,
|
||||
'clear' | 'delete' | 'ensure' | 'forEach' | 'get' | 'reverse' | 'set' | 'sort' | 'sweep'
|
||||
keyof Map<Key, Value> | 'ensure' | 'reverse' | 'sort' | 'sweep'
|
||||
> &
|
||||
ReadonlyMap<Key, Value>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user