Angular要素を作成するときにAngular9でVSCode(1.44.0-insider)に奇妙な警告が出ます:
export class AppModule { 
  constructor(private injector: Injector) {
    const helloElement = createCustomElement(HelloComponent, {injector});
    customElements.define('my-hello', helloElement);
  }
  ngDoBootstrap() {}
}
のタイプhelloElementは受け入れられず、typescriptからのエラーメッセージが表示されます。
タイプ「NgElementConstructor」の引数は、タイプ「CustomElementConstructor」のパラメーターに割り当てることができません