mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
chore: gen script update component instance type (#20893)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user