diff --git a/src/index.ts b/src/index.ts index 21017510..4519f95d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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'; diff --git a/tsconfig.json b/tsconfig.json index 4bec634c..7d52e687 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,6 @@ { "extends": "@4c/tsconfig/web.json", + "exclude": ["./src/pathToRegexp.js"], "compilerOptions": { "allowJs": true },