When facing difficulties, I have an array with functions, such as:
this._array = [handler, func, type]
How should I declare this private property?
1. Array<any>
2. any[]
3. T[]
4. Array<T>
What is the difference in these declarations?
Here is another question:
this._array.push(()=>{ console.log("hey")})
How can I define the type of function in this case?