@@ -11,7 +11,7 @@ export class JwtError extends Error {
1111 readonly message : string
1212 ) {
1313 super ( message ) ;
14- ( this as any ) . __proto__ = JwtError . prototype
14+ ( this as any ) . __proto__ = JwtError . prototype ;
1515 }
1616}
1717
@@ -32,7 +32,7 @@ export enum JwtErrorCode {
3232 * App client error codes and their default messages.
3333 */
3434export class AppErrorCodes {
35- public static INVALID_CREDENTIAL = 'invalid-credential'
35+ public static INVALID_CREDENTIAL = 'invalid-credential' ;
3636}
3737
3838/**
@@ -42,31 +42,31 @@ export class AuthClientErrorCode {
4242 public static INVALID_ARGUMENT = {
4343 code : 'argument-error' ,
4444 message : 'Invalid argument provided.' ,
45- }
45+ } ;
4646 public static INVALID_CREDENTIAL = {
4747 code : 'invalid-credential' ,
4848 message : 'Invalid credential object provided.' ,
49- }
49+ } ;
5050 public static ID_TOKEN_EXPIRED = {
5151 code : 'id-token-expired' ,
5252 message : 'The provided Firebase ID token is expired.' ,
53- }
53+ } ;
5454 public static ID_TOKEN_REVOKED = {
5555 code : 'id-token-revoked' ,
5656 message : 'The Firebase ID token has been revoked.' ,
57- }
57+ } ;
5858 public static INTERNAL_ERROR = {
5959 code : 'internal-error' ,
6060 message : 'An internal error has occurred.' ,
61- }
61+ } ;
6262 public static USER_NOT_FOUND = {
6363 code : 'user-not-found' ,
6464 message : 'There is no user record corresponding to the provided identifier.' ,
65- }
65+ } ;
6666 public static USER_DISABLED = {
6767 code : 'user-disabled' ,
6868 message : 'The user record is disabled.' ,
69- }
69+ } ;
7070}
7171
7272/**
@@ -124,25 +124,25 @@ export class FirebaseError extends Error implements FirebaseErrorInterface {
124124 // Set the prototype explicitly. See the following link for more details:
125125 // https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work
126126 /* tslint:enable:max-line-length */
127- ( this as any ) . __proto__ = FirebaseError . prototype
127+ ( this as any ) . __proto__ = FirebaseError . prototype ;
128128 }
129129
130130 /** @returns The error code. */
131131 public get code ( ) : string {
132- return this . errorInfo . code
132+ return this . errorInfo . code ;
133133 }
134134
135135 /** @returns The error message. */
136136 public get message ( ) : string {
137- return this . errorInfo . message
137+ return this . errorInfo . message ;
138138 }
139139
140140 /** @returns The object representation of the error. */
141141 public toJSON ( ) : object {
142142 return {
143143 code : this . code ,
144144 message : this . message ,
145- }
145+ } ;
146146 }
147147}
148148
@@ -177,7 +177,7 @@ export class PrefixedFirebaseError extends FirebaseError {
177177 // Set the prototype explicitly. See the following link for more details:
178178 // https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work
179179 /* tslint:enable:max-line-length */
180- ( this as any ) . __proto__ = PrefixedFirebaseError . prototype
180+ ( this as any ) . __proto__ = PrefixedFirebaseError . prototype ;
181181 }
182182
183183 /**
@@ -188,7 +188,7 @@ export class PrefixedFirebaseError extends FirebaseError {
188188 * @returns True if the code matches, false otherwise.
189189 */
190190 public hasCode ( code : string ) : boolean {
191- return `${ this . codePrefix } /${ code } ` === this . code
191+ return `${ this . codePrefix } /${ code } ` === this . code ;
192192 }
193193}
194194
@@ -209,6 +209,6 @@ export class FirebaseAuthError extends PrefixedFirebaseError {
209209 // Set the prototype explicitly. See the following link for more details:
210210 // https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work
211211 /* tslint:enable:max-line-length */
212- ( this as any ) . __proto__ = FirebaseAuthError . prototype
212+ ( this as any ) . __proto__ = FirebaseAuthError . prototype ;
213213 }
214214}
0 commit comments