You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewError('Found multiple concepts with @template decorator. The model for the template must contain a single concept with the @template decorator.');
70
-
}elseif(templateModels.length===0){
71
-
thrownewError('Failed to find a concept with the @template decorator. The model for the template must contain a single concept with the @template decoratpr.');
thrownewError('Found multiple concepts with @template decorator. The model for the template must contain a single concept with the @template decorator.');
73
+
}elseif(templateModels.length===0){
74
+
thrownewError('Failed to find a concept with the @template decorator. The model for the template must contain a single concept with the @template decoratpr.');
75
+
}else{
76
+
returntemplateModels[0];
77
+
}
74
78
}
75
79
}
76
80
@@ -123,7 +127,7 @@ function templateMarkTypingGen(template,introspector,model,templateKind,options)
0 commit comments