Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/lib/es2015.collection.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
interface Map<K, V> {
/**
* Removes all elements from the Map.
*/
clear(): void;
/**
* @returns true if an element in the Map existed and has been removed, or false if the element does not exist.
Expand Down Expand Up @@ -73,7 +76,9 @@ interface Set<T> {
* Appends a new element with a specified value to the end of the Set.
*/
add(value: T): this;

/**
* Removes all elements from the Set.
*/
clear(): void;
/**
* Removes a specified value from the Set.
Expand Down