I have an variable define as array, but how can I verify if the array size is not empty? I tried the code below, but the code has error and the error message is Property 'length' does not exist on type '{}'
public dailyUseItems:{};
this.hasDailyUseItems = this.dailyUseItems.length > 0;