I have a question about the following use of a typescript array. It all works fine but when I run it through the linter I get the following error, my assignment is obviously wrong.
Array type using 'Array' is forbidden for simple types. Use 'T[]' instead.
export let data = [
{
"property": "value"
}
];
export interface myInterface {
property: string;
};
protected _collection: Array<myInterface>;
Any assistance is appreciated.