We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42c72aa commit 13e6b8eCopy full SHA for 13e6b8e
packages/router/utils.ts
@@ -115,7 +115,6 @@ export type Submission = {
115
interface DataFunctionArgs {
116
request: Request;
117
params: Params;
118
- payload: any;
119
context?: any;
120
}
121
@@ -127,7 +126,9 @@ export interface LoaderFunctionArgs extends DataFunctionArgs {}
127
126
/**
128
* Arguments passed to action functions
129
*/
130
-export interface ActionFunctionArgs extends DataFunctionArgs {}
+export interface ActionFunctionArgs extends DataFunctionArgs {
+ payload: any;
131
+}
132
133
134
* Loaders and actions can return anything except `undefined` (`null` is a
0 commit comments