From a91ba4370df3e218e5cc181098d5cbd20365b38e Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Tue, 1 Feb 2022 17:56:43 +0530 Subject: [PATCH] Change type to show that username is optional --- src/matrix/registration/Registration.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/registration/Registration.ts b/src/matrix/registration/Registration.ts index 72f0c401..d0f11a1c 100644 --- a/src/matrix/registration/Registration.ts +++ b/src/matrix/registration/Registration.ts @@ -19,7 +19,7 @@ import {registrationStageFromType} from "./registrationStageFromType"; import type {BaseRegistrationStage} from "./stages/BaseRegistrationStage"; export type RegistrationParameters = { - username: string; + username: string | null; password: string; initialDeviceDisplayName: string; inhibitLogin: boolean;