Skip to content

Commit

Permalink
fix: cannot report required props missing error with jsxTemplates e…
Browse files Browse the repository at this point in the history
…nabled

close #2139
  • Loading branch information
johnsoncodehk committed Nov 29, 2022
1 parent 0298828 commit da8ea7d
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -461,6 +461,12 @@ export function generate(

codeGen.push(`<`);
if (componentVars[node.tag]) {
codeGen.push([
'',
'template',
startTagOffset,
capabilitiesSet.diagnosticOnly,
]);
codeGen.push(`__VLS_templateComponents.`);
}
codeGen.push([
Expand Down

0 comments on commit da8ea7d

Please sign in to comment.