Skip to content

Commit c83b10e

Browse files
committed
chore: update
1 parent b73aba4 commit c83b10e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/compiler-sfc/src/script/resolveType.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,12 @@ function resolveStringType(
576576
)
577577
}
578578
const getParam = (index = 0) =>
579-
resolveStringType(ctx, node.typeParameters!.params[index], scope)
579+
resolveStringType(
580+
ctx,
581+
node.typeParameters!.params[index],
582+
scope,
583+
typeParameters,
584+
)
580585
switch (name) {
581586
case 'Extract':
582587
return getParam(1)

0 commit comments

Comments
 (0)