In terms of TS type casting using below Tuple
type as example, is there any significant difference between #1 and #2?
Declaring type Tuple
:
type Tuple = [string, string];
#1 Using square brackets before the function argument
myFunction(<Tuple>value);
#2 Regular type casting
myFunction(value as Tuple);