Lucas_Werkmeister_WMDE added a comment.
Well, I found a hack that makes the `IndeterminateProgressBar` tests pass
without error, at least: create the file
`src/components/IndeterminateProgressBar.vue.d.ts` with the contents `export
{};`. Now, TypeScript has types available for the import
`@/components/IndeterminateProgressBar.vue`…
On its own, this doesn’t work for all tests though, because some of them need
actual type information for the component. I’ll see if it’s possible to write
real type definitions for those components without too much hassle – this
wouldn’t be a great solution (since we’d have to keep the `.vue` and
`.vue.d.ts` files in sync manually), but maybe better than the status quo?
TASK DETAIL
https://phabricator.wikimedia.org/T309176
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, noarave, ItamarWMDE, Aklapper, Michael,
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, Akuckartz, darthmon_wmde,
Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen,
rosalieper, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]