Closed zhiyuanzmj closed 3 weeks ago
Or maybe we should move __VLS_internalComponent
outside the __VLS_template
function.
Just like in v1.8.17
.
Thank you for the PR! But this caused an issue where incorrect usage of await cannot be detected in the template. I just added a test in the master branch.
Or maybe we should move
__VLS_internalComponent
outside the__VLS_template
function.
This is a good point, but requires special handling for class component codegen, so it's better not to do this to avoid further complexity.
__VLS_template
should be an asynchronous function.Prevent the compile error: