@@ -148,7 +148,7 @@ export enum MultiFactorId {
148148 */
149149export abstract class MultiFactorInfo {
150150 public readonly uid : string ;
151- public readonly displayName : string | null ;
151+ public readonly displayName : string ;
152152 public readonly factorId : MultiFactorId ;
153153 public readonly enrollmentTime : string ;
154154
@@ -213,7 +213,7 @@ export abstract class MultiFactorInfo {
213213 }
214214 utils . addReadonlyGetter ( this , 'uid' , response . mfaEnrollmentId ) ;
215215 utils . addReadonlyGetter ( this , 'factorId' , factorId ) ;
216- utils . addReadonlyGetter ( this , 'displayName' , response . displayName || null ) ;
216+ utils . addReadonlyGetter ( this , 'displayName' , response . displayName ) ;
217217 // Encoded using [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
218218 // For example, "2017-01-15T01:30:15.01Z".
219219 // This can be parsed directly via Date constructor.
@@ -265,7 +265,7 @@ export class PhoneMultiFactorInfo extends MultiFactorInfo {
265265
266266/** Class representing multi-factor related properties of a user. */
267267export class MultiFactor {
268- public readonly enrolledFactors : ReadonlyArray < MultiFactorInfo > ;
268+ public enrolledFactors : MultiFactorInfo [ ] ;
269269
270270 /**
271271 * Initializes the MultiFactor object using the server side or JWT format response.
0 commit comments