feat: enable strictNullChecks

feat: enable `noImplicitAny`

chore: remove sync data access

fix loading package data for affected dependencies

chore: properly get alt marketplace data

update patchdb client to allow for emit on undefined values
This commit is contained in:
waterplea
2022-05-26 18:20:31 +03:00
committed by Lucy C
parent 948fb795f2
commit 0390954a85
99 changed files with 674 additions and 535 deletions

View File

@@ -16,7 +16,10 @@ export class ServerConfigService {
private readonly embassyApi: ApiService,
) {}
async presentAlert(key: string, current?: any): Promise<HTMLIonAlertElement> {
async presentAlert(
key: string,
current?: any,
): Promise<HTMLIonAlertElement | null> {
const spec = serverConfig[key]
let inputs: AlertInput[]
@@ -66,7 +69,7 @@ export class ServerConfigService {
]
break
default:
return
return null
}
const alert = await this.alertCtrl.create({