How can I extract types of a component defined with <script setup>
syntax in WebStorm?
#9042
Unanswered
jc-yang
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have tried
InstanceType
api to extract types of a component in Webstorm, but it seems only work on a component defined bydefineComponent
. If I tried to do so on a component defined by<script setup>
syntactic sugar, I just got anany
type, which works well in VS Code,lolIs there any plugins or configurations in Webstorm to fix this problem?
My WebStorm version is like: WebStorm 2023.2
Beta Was this translation helpful? Give feedback.
All reactions