Skip to content

Commit 53cccf6

Browse files
authored
Merge b609820 into 3827d96
2 parents 3827d96 + b609820 commit 53cccf6

File tree

1 file changed

+9
-2
lines changed
  • packages-exp/auth-compat-exp/src

1 file changed

+9
-2
lines changed

packages-exp/auth-compat-exp/src/auth.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ import { ReverseWrapper, Wrapper } from './wrap';
3939
const _assert: typeof exp._assert = exp._assert;
4040

4141
export class Auth
42-
implements compat.FirebaseAuth, Wrapper<exp.Auth>, _FirebaseService {
42+
implements compat.FirebaseAuth, Wrapper<exp.Auth>, _FirebaseService
43+
{
4344
readonly _delegate: exp.AuthImpl;
4445

4546
constructor(readonly app: FirebaseApp, provider: Provider<'auth-exp'>) {
@@ -107,12 +108,18 @@ export class Auth
107108
get languageCode(): string | null {
108109
return this._delegate.languageCode;
109110
}
111+
set languageCode(languageCode: string | null) {
112+
this._delegate.languageCode = languageCode;
113+
}
110114
get settings(): compat.AuthSettings {
111115
return this._delegate.settings;
112116
}
113117
get tenantId(): string | null {
114118
return this._delegate.tenantId;
115119
}
120+
set tenantId(tid: string | null) {
121+
this._delegate.tenantId = tid;
122+
}
116123
useDeviceLanguage(): void {
117124
this._delegate.useDeviceLanguage();
118125
}
@@ -348,7 +355,7 @@ export class Auth
348355
return this._delegate._delete();
349356
}
350357
private linkUnderlyingAuth(): void {
351-
((this._delegate as unknown) as ReverseWrapper<Auth>).wrapped = () => this;
358+
(this._delegate as unknown as ReverseWrapper<Auth>).wrapped = () => this;
352359
}
353360
}
354361

0 commit comments

Comments
 (0)