Аргумент типа «Компонент» не может быть назначен параметру типа «Тип <{}>» - PullRequest
0 голосов
/ 13 февраля 2020
 loadComponentTest() {
    for (let i = 0; i < this.listTemplates.length; i++) {
      const factory = this.resolver.resolveComponentFactory(this.listTemplates[i].Component);
      this.componentRef = this.entry.createComponent(factory);
    }
  }

здесь для метода resolComponentFactory (), я передаю элемент comp onet компонента Type, но я получаю ошибку.

...