mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
Change type to show that username is optional
This commit is contained in:
parent
550a560f40
commit
a91ba4370d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user