React expenses tracker project - problem with empty array

in the end of mosh’s expenses tracker he completed the project with the expenses array being statically populated in the app.tsx. when i try populating with an empty array i get several ts errors. did anyone try, successfully, to solve this?