0👍
In order to get the instance type of a component, you need to first
get its type via typeof, then use TypeScript’s built-in InstanceType
utility to extract its instance type
Source:stackexchange.com
0👍
In order to get the instance type of a component, you need to first
get its type via typeof, then use TypeScript’s built-in InstanceType
utility to extract its instance type