We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 353ccb7 commit 8c84badCopy full SHA for 8c84bad
1 file changed
src/lib/es2015.collection.d.ts
@@ -1,4 +1,7 @@
1
interface Map<K, V> {
2
+ /**
3
+ * Removes all elements from this 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 this set
81
82
83
84
* Removes a specified value from the Set.
0 commit comments