Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(parser): pass base to URL only when value is provided #32

Merged
merged 1 commit into from
Jul 22, 2020

Conversation

meeroslav
Copy link
Collaborator

On Safari attempting to pass base as undefined results with TypeError as seen on https://responsive-ng-router.netlify.app.
Based on type definition for URL, base property is optional and of type string | URL. While most browsers consider passing undefined and omitting the property same, Safari is somewhat strict in this matter and throws an exception.

On Safari attempting to pass `base` as `undefined` results with `TypeError` as seen on https://responsive-ng-router.netlify.app.
Based on type definition for URL, `base` property is optional and of type `string | URL`. While most browsers consider passing undefined and omitting the property same, Safari is somewhat strict in this matter and throws an exception.
@brandonroberts brandonroberts merged commit 3810e3b into angular-component:master Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants