Apply strictNullChecks to src/settings/* (#10252

* Apply strictNullChecks to src/settings/*

* Fix inherited types
This commit is contained in:
Michael Telatyński 2023-02-28 10:24:59 +00:00 committed by GitHub
parent 95223c87fe
commit eca28ac2f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 24 deletions

View file

@ -29,7 +29,7 @@ export default class SlidingSyncController extends SettingController {
}
public async onChange(): Promise<void> {
PlatformPeg.get().reload();
PlatformPeg.get()?.reload();
}
public get settingDisabled(): boolean {