From c4894f2c240b89e6d85f4095b90e2e5969b53d49 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Thu, 3 Feb 2022 18:07:45 +0530 Subject: [PATCH] completed is not always present --- src/matrix/registration/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/registration/types.ts b/src/matrix/registration/types.ts index aa319d43..d79fd33a 100644 --- a/src/matrix/registration/types.ts +++ b/src/matrix/registration/types.ts @@ -24,7 +24,7 @@ export type AccountDetails = { export type RegistrationResponse = RegistrationResponseMoreDataNeeded | RegistrationResponseError | RegistrationResponseSuccess; export type RegistrationResponseMoreDataNeeded = { - completed: string[]; + completed?: string[]; flows: RegistrationFlow[]; params: Record; session: string;