fix: crash with $derived()
in template using ts
#698
Merged
$derived()
in template using ts
#698