I am new to TypeScript, I got following predefined type:
type SC = StyledComponent<any, any>;
in my script I have tons of variables using this type:
ColorBarItemHoverArray!: Array<SC>;
AdjustColorContainer!: SC;
HandleHover!: SC;
DivContainer!: SC;
ATag!: SC;
SpanTag1!: SC;
SpanTag2!: SC;
SpanTag3!: SC;
SpanTag4!: SC;
StyledLabelSide!: SC;
StyledRangeSide!: SC;
StyledInputSide!: SC;
StyledLabelRatio!: SC;
StyledRangeRatio!: SC;
StyledInputRatio!: SC;
StyledLabelAngle!: SC;
StyledRangeAngle!: SC;
StyledInputAngle!: SC;
StyledLabelSpeed!: SC;
StyledRangeSpeed!: SC;
StyledInputSpeed!: SC;
StyledButtonInverse!: SC;
StyledButtonAbstract!: SC;
StyledButtonArrow!: SC;
ArrowLeft!: SC;
ArrowRight!: SC;
is there a better way to write these?
Appreciate for your help.