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 URLPattern type export #111

Merged
merged 2 commits into from
Apr 11, 2023
Merged

Fix URLPattern type export #111

merged 2 commits into from
Apr 11, 2023

Conversation

eduardoboucas
Copy link
Contributor

I've noticed that the current URLPattern exported type can't be used as a constructor. In this PR I've changed index.d.ts so that we export URLPattern directly from types.js, which does address the problem.

Before:

Screenshot 2023-03-29 at 18 26 49

After:

Screenshot 2023-03-29 at 18 25 57

@eduardoboucas eduardoboucas changed the title Redo export Fix URLPattern type export Mar 29, 2023
@SanderElias SanderElias merged commit da6e8b0 into kenchris:main Apr 11, 2023
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.

2 participants