completed is not always present

This commit is contained in:
RMidhunSuresh 2022-02-03 18:07:45 +05:30
parent e64f4ad7b2
commit c4894f2c24

View File

@ -24,7 +24,7 @@ export type AccountDetails = {
export type RegistrationResponse = RegistrationResponseMoreDataNeeded | RegistrationResponseError | RegistrationResponseSuccess;
export type RegistrationResponseMoreDataNeeded = {
completed: string[];
completed?: string[];
flows: RegistrationFlow[];
params: Record<string, any>;
session: string;