You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A URL object can be used as base URL (while IDL requires a string as argument, a URL object stringifies to its href attribute value): var url = new URL("🏳️🌈", new URL("https://pride.example/hello-world"))
Now it's only support DOMString as base parameter, need explicit call toString method on base to avoid compile error.
Related: microsoft/TypeScript#15246
The text was updated successfully, but these errors were encountered:
https://url.spec.whatwg.org/#example-5434421b
Now it's only support DOMString as base parameter, need explicit call toString method on base to avoid compile error.

Related: microsoft/TypeScript#15246
The text was updated successfully, but these errors were encountered: