We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b94d40f commit 507eaa0Copy full SHA for 507eaa0
src/modules/ClientApi.ts
@@ -19,9 +19,7 @@ export class ClientApi implements IClientApi {
19
}
20
21
public get accountData(): AccountDataApi {
22
- if (!this.accountDataApi) {
23
- this.accountDataApi = new AccountDataApi();
24
- }
+ this.accountDataApi ??= new AccountDataApi();
25
return this.accountDataApi;
26
27
0 commit comments