We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbe2219 commit 2b881bcCopy full SHA for 2b881bc
src/lib/es2015.collection.d.ts
@@ -1,4 +1,7 @@
1
interface Map<K, V> {
2
+ /**
3
+ * Removes all elements from the Map.
4
+ */
5
clear(): void;
6
/**
7
* @returns true if an element in the Map existed and has been removed, or false if the element does not exist.
@@ -73,7 +76,9 @@ interface Set<T> {
73
76
* Appends a new element with a specified value to the end of the Set.
74
77
*/
75
78
add(value: T): this;
-
79
80
+ * Removes all elements from the Set.
81
82
83
84
* Removes a specified value from the Set.
0 commit comments