How do I init an empty array?
//On change I want to add an item to an array
error TS2339: Property 'push' does not exist on type '() => void'.
You don't initialize your array, so
undefined. To be able to use it, just initialize it this way:
test: any = ;