Dan Korostelev 7 years ago
parent
commit
d5c210ffc9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/js/Boot.hx

+ 1 - 1
std/js/Boot.hx

@@ -34,7 +34,7 @@ private class HaxeError extends js.Error {
 		if (js.Error.captureStackTrace) js.Error.captureStackTrace(this, HaxeError);
 	}
 
-	public static function wrap(val:Dynamic):Dynamic untyped {
+	public static function wrap(val:Dynamic):Dynamic {
 		return if (js.Syntax.instanceof(val, js.Error)) val else new HaxeError(val);
 	}
 }