Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript Partial<> - [@vue/compiler-sfc] Unsupported type when resolving index type #12647

Open
geferon opened this issue Jan 5, 2025 · 0 comments · May be fixed by #12648
Open

Typescript Partial<> - [@vue/compiler-sfc] Unsupported type when resolving index type #12647

geferon opened this issue Jan 5, 2025 · 0 comments · May be fixed by #12648
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

Comments

@geferon
Copy link

geferon commented Jan 5, 2025

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 or Pick 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

@edison1105 edison1105 added the 🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants