I have a component defined as :
type myType = anotherType<weirdType1, weirdType2, weirdType3>;
function weirdComponent({q}: myType)
And it's called like: <weirdComponent {...myVar} />, where myVar is an isinstance of myType.
- What does - {q}mean inside weirdComponent function signature
- What does - {...myVar}do?
- What kind of type is - myType?
 
     
    