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
I wonder exactly what version of Nullable Type was added in, it wasn't written in the docs, I looked at the type in the componentProps.ts file The last modification of the type PropType was in 75c8cf6, so is it a new feature added after v3.5.0-alpha.1? If so, can it be marked with a badge in the document?
The text was updated successfully, but these errors were encountered:
YiMo1
changed the title
definedProps 在演练场中的类型提示有错误。defineProps 在演练场中的类型提示有错误。
Nov 15, 2024
Vue version
3.5.12
Link to minimal reproduction
https://play.vuejs.org/#eNp9kc1OwzAQhF9l5VMrValK4RKFSgX1AAeoKDeMUJRsUxfHNv4pRVHenY2jlhxQb+uZWfvbdcOWxiSHgCxlmSusMB4c+mBA5qq65cw7zhZclbgVCtdWGzdquAIwVC5TiDWAxa8gLJYpeBtw0ov+x2AKbxtvhaomoIKU79FquWrHXGXT/kG6ng4eayNzj3QCyHazRdNA3zqKb42hbbMp6V3jIMwmxFhotRVVsnda0SARirNC10ZItM/GC61ojjMuZ7mU+vsxagNi6tlh8fmPvnfHTuNsbdGhPSBnZ8/ntkLf26vNEx6pPpu1LoOk9AXzBZ2WoWPsY3dBlYQ9yEXah9po62kfr2519KjcaagONK415jmj37y/MPof7jy5Pn0HbfHjgLa7kxY4T26S2RVrfwEXULH2
Steps to reproduce
鼠标悬浮在属性
propA
上。Hover over the property
propA
.What is expected?
属性
propA
的类型应该是string | null
。propA
should bestring | null
.What is actually happening?
属性
propA
的类型却是string
。propA
is actuallystring
.System Info
No response
Any additional comments?
在
VSCode
中,类型提示是正常的。It's normal in
VSCode
.我想知道关于“可为
null
的类型”具体是在哪一个版本中新增加的功能,在文档中并没有写,我在componentProps.ts文件中查看类型PropType
的最近一次修改是在 75c8cf6 ,所以它是在v3.5.0-alpha.1
之后增加的新功能吗?如果是的,那么能否在文档中用徽章标记出来?I wonder exactly what version of
Nullable Type
was added in, it wasn't written in the docs, I looked at the type in the componentProps.ts file The last modification of the typePropType
was in 75c8cf6, so is it a new feature added afterv3.5.0-alpha.1
? If so, can it be marked with a badge in the document?The text was updated successfully, but these errors were encountered: