diff --git a/packages/ts/react-auth/src/useAuth.tsx b/packages/ts/react-auth/src/useAuth.tsx index bfec9dda42..e9627a7010 100644 --- a/packages/ts/react-auth/src/useAuth.tsx +++ b/packages/ts/react-auth/src/useAuth.tsx @@ -8,7 +8,7 @@ import { } from '@vaadin/hilla-frontend'; import { createContext, type Dispatch, useContext, useEffect, useReducer } from 'react'; -type LoginFunction = (username: string, password: string) => Promise; +type LoginFunction = (username: string, password: string, options?: LoginOptions) => Promise; type LogoutFunction = () => Promise; const LOGIN_FETCH = 'LOGIN_FETCH';