You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for <script setup lang=ts generic="..."> (#182)
* Add support for `<script setup lang=ts generic="...">`
* update
* update
* fix unused import
* add test cases
* rename node type and internal method
* fix and change node def
* add test case
// See https://github.com/vuejs/core/blob/28e30c819df5e4fc301c98f7be938fa13e8be3bc/packages/compiler-sfc/src/compileScript.ts#L179
93
+
returnlang==="ts"||lang==="tsx"
94
+
}
95
+
96
+
exporttypeGenericDirective=VDirective&{
97
+
value: VExpressionContainer&{
98
+
expression: VGenericExpression
99
+
}
100
+
}
101
+
102
+
/**
103
+
* Find `generic` directive from given `<script>` element
0 commit comments