Skip to content

Commit

Permalink
feat(conform-dom)!: set payload to unknown value type (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds authored Sep 10, 2023
1 parent 7939948 commit d5adc47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/conform-dom/parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { INTENT, getIntent, parseIntent, updateList } from './intent.js';

export type Submission<Schema = any> = {
intent: string;
payload: Record<string, any>;
payload: Record<string, unknown>;
error: Record<string, string[]>;
value?: Schema | null;
};
Expand Down

0 comments on commit d5adc47

Please sign in to comment.