How to define an array of objects
Using vue 3, typescript and eslint I have the following code: … data() { return { blah: ”, blah2: [] … and in the methods object I have: methods: { addEntry() :void { this.blah2.push({s:’whatever’,b:false}); } … I’m getting this error: Argument of type ‘{ s: string; b: boolean; }’ is not assignable to parameter of… Read More How to define an array of objects