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
{{ message }}
Repository navigation
Dynamic slot name Template error: Type 'QTableSlots' has no matching index signature for type 'string'.ts-plugin(2537) #4668
As of version 2.0.28 of Vue Official, we get the following syntax highlighting if we use a dynamic slot name. In this case it is for QTableSlots of the Quasar Component Library.
Activity
davidmatter commentedon Aug 8, 2024
Regression from #4478
Test case
main.vuechild.vuekermanx commentedon Aug 8, 2024
Opened #4669 for the type problem.
About the syntax highlighting problem, I think the current behavior is expected:
dmichaelnm commentedon Aug 21, 2024
That worked for me.
kermanx commentedon Aug 21, 2024
This can be simplified to:
tomvdk commentedon Aug 23, 2024
This works fine! Thanks!
tomvdk commentedon Sep 2, 2024
After 2.1.0 release this is now fixed. No need for the workaround above anymore.
<template #[body-cell-${actionsKey}]="data">works fine now.fix(language-core): keep literal bindings from widening through `__VL…