Skip to content

Commit 6cda1c5

Browse files
committed
add back in action type
1 parent de95236 commit 6cda1c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/router/router.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { History, Location, Path, To } from "./history";
1+
import type { Action, History, Location, Path, To } from "./history";
22
import {
33
Action as HistoryAction,
44
createLocation,
@@ -432,6 +432,7 @@ type BaseNavigateOptions = BaseNavigateOrFetchOptions & {
432432
type BaseSubmissionOptions = {
433433
formMethod?: HTMLFormMethod;
434434
formEncType?: FormEncType;
435+
action?: ActionFunction;
435436
} & (
436437
| { formData: FormData; payload?: undefined }
437438
| { formData?: undefined; payload: any }

0 commit comments

Comments
 (0)