solidjs / solid-router

A universal router for Solid inspired by Ember and React Router
MIT License
1.1k stars 137 forks source link

Export all types used in public API #432

Closed jpdutoit closed 1 month ago

jpdutoit commented 1 month ago

The problem

Some types referenced in the public API arenot exported.

This makes it difficult to write code that uses those types, as they cannot be referenced by name.

Specifically: MatchFilter, MatchFilters, PathMatch, Route and RouteMatch

The fix

Export those types

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 00e37fda3456714158b8e84700475718a1ede200

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------- | ----- | | @solidjs/router | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

ryansolid commented 1 month ago

Thank you