I have no clue why my IDE prompt a type error
interface test { id: number }[] const testData: test = [{id:1}, {id: 2}] //Property \'id\' is missing in ty