@@ -1 +1,5 @@
-typedef Map<K, V> = haxe.ds.Map<K, V>;
+typedef Map<K, V> = haxe.ds.Map<K, V>;
+
+@:dox(hide)
+@:deprecated
+typedef IMap<K, V> = haxe.Constraints.IMap<K, V>;
@@ -174,8 +174,4 @@ abstract Map<K,V>(IMap<K,V> ) {
@:from static inline function fromObjectMap<K:{ }, V>(map:ObjectMap<K,V>):Map<K,V> {
return cast map;
}
-}
-
-@:dox(hide)
-@:deprecated
-typedef IMap<K, V> = haxe.Constraints.IMap<K, V>;
+}