mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user