All questions

Do the generated slot types actually catch schema changes at build time?

Asked by lucas_ts on

Llucas_ts

I committed the CLI-generated slots type file and I want to confirm the behaviour I am hoping for: if a component schema changes, does my Vue build fail, or will it happily ship a slot render that is quietly broken against the new shape?

I am trying to decide whether to trust these types as a real safety net or just treat them as editor hints. Which one is it in practice?

Was this helpful?

0 answers

Still have questions?