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

ci: Update exports and fix linting #8975

Merged
merged 2 commits into from
Jun 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/build/
/fixtures/
node_modules/
/docs/api
examples/**/dist/
packages/**/dist/
tutorial/dist/
2 changes: 2 additions & 0 deletions packages/react-router-dom/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export { createSearchParams };
// Note: Keep in sync with react-router exports!
export type {
ActionFunction,
ActionFunctionArgs,
DataMemoryRouterProps,
DataRouteMatch,
Fetcher,
Expand All @@ -68,6 +69,7 @@ export type {
JsonFunction,
LayoutRouteProps,
LoaderFunction,
LoaderFunctionArgs,
Location,
MemoryRouterProps,
NavigateFunction,
Expand Down
2 changes: 2 additions & 0 deletions packages/react-router-native/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import URLSearchParams from "@ungap/url-search-params";
// Note: Keep in sync with react-router exports!
export type {
ActionFunction,
ActionFunctionArgs,
DataMemoryRouterProps,
DataRouteMatch,
Fetcher,
Expand All @@ -32,6 +33,7 @@ export type {
JsonFunction,
LayoutRouteProps,
LoaderFunction,
LoaderFunctionArgs,
Location,
MemoryRouterProps,
NavigateFunction,
Expand Down
4 changes: 4 additions & 0 deletions packages/react-router/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import type {
ActionFunction,
ActionFunctionArgs,
DataRouteMatch,
Fetcher,
JsonFunction,
LoaderFunction,
LoaderFunctionArgs,
Location,
Navigation,
Params,
Expand Down Expand Up @@ -92,6 +94,7 @@ type Search = string;
// Expose react-router public API
export type {
ActionFunction,
ActionFunctionArgs,
DataMemoryRouterProps,
DataRouteMatch,
Fetcher,
Expand All @@ -100,6 +103,7 @@ export type {
JsonFunction,
LayoutRouteProps,
LoaderFunction,
LoaderFunctionArgs,
Location,
MemoryRouterProps,
NavigateFunction,
Expand Down