Index: Source/devtools/front_end/externs.js |
diff --git a/Source/devtools/front_end/externs.js b/Source/devtools/front_end/externs.js |
index 40703b5ccd9ce88d510110ff96c5e32f97a4d9ac..41166ff770707b576ac0b7bd73e7501eb5fe66ca 100644 |
--- a/Source/devtools/front_end/externs.js |
+++ b/Source/devtools/front_end/externs.js |
@@ -473,11 +473,14 @@ Iterator.prototype = { |
next: function() { } |
} |
+//FIXME: $jscomp.Iterable hack below should be removed once transpilation is not required for closure compiler ES6 |
/** |
* @constructor |
+ * @implements $jscomp.Iterable.<!Array.<K|V>> |
+ * @param {!Array.<!Array.<K|V>>|!Iterator.<!Array.<K|V>>=} iterable |
* @template K, V |
*/ |
-var Map = function() { } |
+var Map = function(iterable) { } |
Map.prototype = { |
/** |
@@ -503,6 +506,11 @@ Map.prototype = { |
values: function() { }, |
/** |
+ * @return {!Array.<!Array.<K|V>>} |
+ */ |
+ entries: function() { }, |
+ |
+ /** |
* @param {K} key |
* @return {V} |
*/ |
@@ -519,7 +527,10 @@ Map.prototype = { |
/** |
* @return {number} |
*/ |
- get size() { } |
+ get size() { }, |
+ |
+ // FIXME: This should be removed once transpilation is not required for closure compiler ES6 |
+ $$iterator: function() { } |
} |
// FIXME: $jscomp.Iterable hack below should be removed once transpilation is not required for closure compiler ES6 |