2
0
mirror of https://github.com/esiur/esiur-js.git synced 2026-04-04 14:08:20 +00:00
This commit is contained in:
2022-09-03 22:06:45 +03:00
parent 87e04c37ac
commit b04ff2b5a4
5 changed files with 8 additions and 8 deletions

View File

@@ -244,7 +244,7 @@ export default class TypeTemplate {
if (type.prototype instanceof DistributedResource)
this.templateType = TemplateType.Wrapper;
if (type.prototype instanceof IRecord)
else if (type.prototype instanceof IRecord)
this.templateType = TemplateType.Record;
else if (type.prototype instanceof IResource)
this.templateType = TemplateType.Resource;