Browse Source

[js] Add @:deprecated typedef for js.lib.Map.MapEntry (#8820)

George Corney 6 years ago
parent
commit
e6598a0d69
1 changed files with 2 additions and 0 deletions
  1. 2 0
      std/js/lib/Map.hx

+ 2 - 0
std/js/lib/Map.hx

@@ -108,3 +108,5 @@ extern class Map<K, V> {
 		return new HaxeIterator(this.entries());
 	}
 }
+
+@:deprecated typedef MapEntry<K, V> = KeyValue<K, V>;