I have this type
{timeStamp: number, rectangle:number[]}
and I want to use it multiple times(within the same file), is there any way to do it like:
type detectionParams = {timeStamp: number, rectangle:number[]};
private detection: detectionParams[];
type DetectionParams = ...would be better.