浏览代码

[jQuery] Make functions that return EitherType to return Dynamic instead.
https://github.com/HaxeFoundation/haxe/issues/4528#issuecomment-139213995

Andy Li 10 年之前
父节点
当前提交
207cd58997
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/js/jquery/JQuery.hx

+ 1 - 1
std/js/jquery/JQuery.hx

@@ -987,7 +987,7 @@ package js.jquery;
 	**/
 	@:overload(function(value:haxe.extern.EitherType<Float, haxe.extern.EitherType<Array<String>, String>>):js.jquery.JQuery { })
 	@:overload(function(_function:Int -> String -> String):js.jquery.JQuery { })
-	public function val():haxe.extern.EitherType<Float, haxe.extern.EitherType<Array<Dynamic>, String>>;
+	public function val():Dynamic;
 	/**
 		Set the CSS width of each element in the set of matched elements.
 		OR