defineProps现在还不能解析外部类型吗? #11288
Unanswered
zzydannyer
asked this question in
Help/Questions
Replies: 1 comment
-
Complex types or entire prop object is not yet supported for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
import { UploaderProps } from 'vant'; const props = withDefaults(defineProps<UploaderProps>(), {});
报错:[plugin:vite:vue] [@vue/compiler-sfc] Unresolvable type reference or unsupported built-in utility type
"vue": "^3.4.31",
"vant": "^4.9.1",
"vite": "5.3.2",
Beta Was this translation helpful? Give feedback.
All reactions