Change type to show that username is optional

This commit is contained in:
RMidhunSuresh 2022-02-01 17:56:43 +05:30
parent 550a560f40
commit a91ba4370d

View file

@ -19,7 +19,7 @@ import {registrationStageFromType} from "./registrationStageFromType";
import type {BaseRegistrationStage} from "./stages/BaseRegistrationStage"; import type {BaseRegistrationStage} from "./stages/BaseRegistrationStage";
export type RegistrationParameters = { export type RegistrationParameters = {
username: string; username: string | null;
password: string; password: string;
initialDeviceDisplayName: string; initialDeviceDisplayName: string;
inhibitLogin: boolean; inhibitLogin: boolean;