浏览代码

Fixed wrong `blobParts` type. (#7593)

SlavaRa 6 年之前
父节点
当前提交
db600adc9b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      std/js/html/Blob.hx

+ 2 - 2
std/js/html/Blob.hx

@@ -46,11 +46,11 @@ extern class Blob
 	var type(default,null) : String;
 	
 	/** @throws DOMError */
-	function new( ?blobParts : Array<haxe.extern.EitherType<haxe.extern.EitherType<ArrayBufferView,ArrayBuffer>,haxe.extern.EitherType<Blob,String>>>, ?options : BlobPropertyBag ) : Void;
+	function new( ?blobParts : Array<haxe.extern.EitherType<ArrayBuffer,haxe.extern.EitherType<ArrayBufferView,haxe.extern.EitherType<Blob,String>>>>, ?options : BlobPropertyBag ) : Void;
 	
 	/**
 		Returns a new `Blob` object containing the data in the specified range of bytes of the source `Blob`.
 		@throws DOMError
 	**/
 	function slice( ?start : Int, ?end : Int, ?contentType : String ) : Blob;
-}
+}