chore: gen script update component instance type (#20893)

This commit is contained in:
btea
2025-05-30 10:33:49 +08:00
committed by GitHub
parent e4a93aae74
commit 6fff9221dd

View File

@@ -63,7 +63,7 @@ EOF
cat > $DIRNAME/src/instance.ts <<EOF
import type $NAME from './$INPUT_NAME.vue'
export type ${NAME}Instance = InstanceType<typeof $NAME>
export type ${NAME}Instance = InstanceType<typeof $NAME> & unknown
EOF
cat <<EOF >"$DIRNAME/index.ts"