Skip to content

Commit

Permalink
fix(forms): allow nullable next_input value
Browse files Browse the repository at this point in the history
  • Loading branch information
ephrimlawrence committed May 2, 2024
1 parent 3a8c160 commit 74a1e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export type FormInput = {
validate: Validation;
display: string | ((req: Request) => Promise<string> | string);
handler?: (req: Request) => Promise<void>;
next_input?: string | ((req: Request) => Promise<string> | string);
next_input?: string | ((req: Request) => Promise<string> | string | undefined);
end?: boolean | ((req: Request) => boolean);
next_menu?: NextMenu;
};
Expand Down

0 comments on commit 74a1e8e

Please sign in to comment.