diff --git a/modern/src/runtime/System.ts b/modern/src/runtime/System.ts index 1175dcee..48b9e97f 100644 --- a/modern/src/runtime/System.ts +++ b/modern/src/runtime/System.ts @@ -122,6 +122,7 @@ class System extends MakiObject { getprivateint(section: string, item: string, defvalue: number): number { if ( !this._privateInt.has(section) || + // @ts-ignore We know this section exists !this._privateInt.get(section).has(item) ) { return defvalue; @@ -636,6 +637,7 @@ class System extends MakiObject { getprivatestring(section: string, item: string, defvalue: string): string { if ( !this._privateString.has(section) || + // @ts-ignore We know this section exists !this._privateString.get(section).has(item) ) { return defvalue;