Skip to content

Commit

Permalink
Merge pull request #8224 from haxiomic/fix_8223
Browse files Browse the repository at this point in the history
Replace setTimeout timeout: Int with : Float, fixes #8223
  • Loading branch information
haxiomic authored Apr 26, 2019
2 parents 0971b8a + a9b3a41 commit 9a714b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions std/js/html/Window.hx
Original file line number Diff line number Diff line change
Expand Up @@ -568,12 +568,12 @@ extern class Window extends EventTarget {
/** @throws DOMError */
function atob( atob : String ) : String;
/** @throws DOMError */
@:overload( function( handler : haxe.Constraints.Function, timeout : Int = 0, arguments : haxe.extern.Rest<Dynamic> ) : Int {} )
function setTimeout( handler : String, timeout : Int = 0, unused : haxe.extern.Rest<Dynamic> ) : Int;
@:overload( function( handler : haxe.Constraints.Function, timeout : Float = 0, arguments : haxe.extern.Rest<Dynamic> ) : Int {} )
function setTimeout( handler : String, timeout : Float = 0, unused : haxe.extern.Rest<Dynamic> ) : Int;
function clearTimeout( handle : Int = 0 ) : Void;
/** @throws DOMError */
@:overload( function( handler : haxe.Constraints.Function, timeout : Int = 0, arguments : haxe.extern.Rest<Dynamic> ) : Int {} )
function setInterval( handler : String, timeout : Int = 0, unused : haxe.extern.Rest<Dynamic> ) : Int;
@:overload( function( handler : haxe.Constraints.Function, timeout : Float = 0, arguments : haxe.extern.Rest<Dynamic> ) : Int {} )
function setInterval( handler : String, timeout : Float = 0, unused : haxe.extern.Rest<Dynamic> ) : Int;
function clearInterval( handle : Int = 0 ) : Void;
/** @throws DOMError */
@:overload( function( aImage : VideoElement) : Promise<ImageBitmap> {} )
Expand Down

0 comments on commit 9a714b9

Please sign in to comment.