diff --git a/src/types/index.ts b/src/types/index.ts index 5d7a349..2723a4c 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -16,7 +16,7 @@ export type FormInput = { validate: Validation; display: string | ((req: Request) => Promise | string); handler?: (req: Request) => Promise; - next_input?: string | ((req: Request) => Promise | string); + next_input?: string | ((req: Request) => Promise | string | undefined); end?: boolean | ((req: Request) => boolean); next_menu?: NextMenu; };