Closed misogihagi closed 2 years ago
These types are not supported.
The plugin just simply extracts types from files, it does not do static analysis.
It's hard to do static analysis which behaves as same as TS due to my poor knowledge of TS's type system.
We will mark this issue as an enhancement. And we hope that we can find an efficient way to achieve this.
I added the duplicate
label because there was already an identical problem. (#28 )
We temporarily close this issue as duplicate, you can keep an eye on #28
Related #25
Hello, thank you for your help before.
By the way, I found another problem.
I used
export type props=Partial<{ msg: string }>
instead ofexport type props={ msg: string }
and the example problem occurred again.Here is my repp.