Skip to content

Commit

Permalink
Fix the previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Oct 23, 2024
1 parent 70b164f commit 3dca29b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion std/js/html/URL.hx
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,14 @@ extern class URL {
var hash : String;

/** @throws DOMError */
function new( url : String, ?base : String ) : Void;
function new( url : String, ?base : EitherType<String, URL> );

/**
Returns a JSON representation of this URL.
**/
function toJSON() : String;

/**
Returns a string representation of this URL.
**/
function toString() : String;
Expand Down

0 comments on commit 3dca29b

Please sign in to comment.