Browse Source

Fixed wrong `blobParts` type. (#7593)

SlavaRa 6 years ago
parent
commit
db600adc9b
1 changed files with 2 additions and 2 deletions
  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;
-}
+}