Parcourir la source

[js] add Error to reserved type paths

Dan Korostelev il y a 10 ans
Parent
commit
6eb173e995
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      common.ml

+ 1 - 1
common.ml

@@ -565,7 +565,7 @@ let get_config com =
 			pf_overload = false;
 			pf_pattern_matching = false;
 			pf_can_skip_non_nullable_argument = true;
-			pf_reserved_type_paths = [([],"Object")];
+			pf_reserved_type_paths = [([],"Object");([],"Error")];
 		}
 	| Neko ->
 		{