I'm encountering an issue with an array of objects named tagTagfilter. When I log it in the browser, it doesn't immediately show the correct length value inside.
tagTagFilter: TagFilter = {
filterName: 'Tag',
tags: []
};
https://i.sstatic.net/90jaO.png
Although the value is present, the length still registers as 0. I've tried using tagTagFilter.length but it continues to display zero. How can I resolve this? I am working with TypeScript.