Skip to content

Commit

Permalink
fix: export hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed Feb 9, 2023
1 parent efd64bc commit 1c38c27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,7 @@ export * as ResolverUtils from './ResolverUtils';
export { default as Route } from './Route';
export { default as RouterContext } from './RouterContext';
export { default as useRouter } from './useRouter';
export { default as useParams } from './useParams';
export { default as useLocation } from './useLocation';
export { default as useMatch } from './useMatch';
export { default as withRouter } from './withRouter';
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"extends": "@4c/tsconfig/web.json",
"exclude": ["./src/pathToRegexp.js"],
"compilerOptions": {
"allowJs": true
},
Expand Down

0 comments on commit 1c38c27

Please sign in to comment.