Typescript Partial<> - [@vue/compiler-sfc] Unsupported type when resolving index type #12647
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
scope: compiler
scope: sfc
Vue version
3.5.13
Link to minimal reproduction
https://play.vuejs.org/#eNp9Ul1r3DAQ/CtbPdQJXO+4XvtydVzaEugHNEd70BdBMfbaUU6WhLS+5jD+713J5GJIyOPOzK5GszuIT84tjz2KrchD5ZUj0KVpr6SgIAUEpN4V0qjOWU8wgMcGRmi87SDjtkwaaSprAkEXWriK/EX2FbW28Md6Xb/KLqOETg7hxpGyptT5fgE/AO8JTR3ggCfbwL7g5ptOUSILeA270pNi8U5VhwksPsRRyhD6pqwQ9sjPDtIAOG8dejqttxDIK9Oy8hF9+3EGj0/spDH8+Nkd1wvIzjOz6d3plxENrK6xUQZ3scrng4qLy6TOV1OanB0XhJ3TJSFXAPntuhiGlNc45iuuEqqM6wmObzpbo+b8mecFrJjMV7N+seDNsJdGtcu7YA0vLkUgRWU7pzT6yQ5vbzuFE7mSF/Lve8LI97h4wKtbrA7P4HfhPmJS7DwG9EeU4sxR6Vukib7+/ZP3OCPZfa9Z/QL5C4PVffQ4yT73pmbbM11y+y2dHC9tH67jqYSHT0WjUTkmvRR8hl9e+Pqj3c3yXerjI+AU/x7Rx5kc4Gb5frneiPE/QloGYg==
Steps to reproduce
I'm not entirely sure of which causes it, but either
Omit
,Partial
orPick
cause this error.What is expected?
The types to be parsed correctly.
What is actually happening?
The types are not supported by Vue and are throwing an error.
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: