Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(types): Scope accepts legacy Url not WHATWG (#1879)
Updates the types to properly reflect that a Scope can be created with the output of `url.parse`. Previously, it denoted that it accepted a `url.URL` instance. To clarify, tests were also added proving that one works while the other throws an error.
- Loading branch information
1 parent
061e922
commit e22233b
Showing
3 changed files
with
38 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters