Closed eduardoboucas closed 1 year ago
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.
URLPattern
index.d.ts
types.js
Before:
After:
I've noticed that the current
URLPattern
exported type can't be used as a constructor. In this PR I've changedindex.d.ts
so that we exportURLPattern
directly fromtypes.js
, which does address the problem.Before:
After: