diff --git a/src/lib/es2015.collection.d.ts b/src/lib/es2015.collection.d.ts index e88f0d4c3b405..43129531845e4 100644 --- a/src/lib/es2015.collection.d.ts +++ b/src/lib/es2015.collection.d.ts @@ -1,4 +1,7 @@ interface Map { + /** + * 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. @@ -73,7 +76,9 @@ interface Set { * 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.