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
{{ message }}
Repository navigation
new URL() constructor does not take URL object as base parameter #331
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
Activity
Nullizer commentedon Nov 24, 2017
I made a PR for this #332
saschanaz commentedon Nov 24, 2017
Ideally we should support interfaces with stringifiers, not sure how.