TypeScript Filtr tablica obiektów

let variable = this.someArray.filter((x:any)=>{ return !x.active;})
Envious Earthworm