fix: operator not permit on newer version of typescript

This commit is contained in:
DanyLE 2023-05-30 11:10:40 +02:00 committed by Dany LE
parent 56ca945b0c
commit cd6a6c373a

View File

@ -66,7 +66,7 @@ namespace OS {
};
this.catlist.ontabselect = (e) => {
const selected = this.catlist.selected;
const selected = this.catlist.selected as number;
if(selected < 0)
return;