Experimental RFC 436 - cannot use generic prop as object key in template without props
#2192
Labels
good reproduction ✨
This issue provides a good reproduction, we will be able to investigate it first
upstream
With
defineProps
, the props are normally available in the template without the need to useconst props = defineProps<...>()
and addingprops.
before the prop name.However when adding a generic prop as a key to an object in the HTML template, we get an error.
I made a public repo to showcase the issue. The generic component with the error is
TheWelcome
- please note this repo is shared with #2191 (separate branches).The text was updated successfully, but these errors were encountered: