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

@@ -7,7 +7,7 @@ import * as emver from '@start9labs/emver'
export class Emver {
constructor() {}
compare(lhs: string, rhs: string): number {
compare(lhs: string, rhs: string): number | null {
if (!lhs || !rhs) return null
return emver.compare(lhs, rhs)
}

View File

@@ -5,7 +5,7 @@ import { IonicSafeString, ToastController } from '@ionic/angular'
providedIn: 'root',
})
export class ErrorToastService {
private toast: HTMLIonToastElement
private toast?: HTMLIonToastElement
constructor(private readonly toastCtrl: ToastController) {}