Skip to content

Component type is lost due to input binding with expression #1278

@akaufmann

Description

@akaufmann

When you add an input binding with an expression the component is then of type HTMLElement instead of FooComponent.

bug

Additional context

Angular Language Server: 11.2.10
Angular CLI: 12.0.0-next.8
Node: 12.18.0
OS: darwin x64

Angular: 12.0.0-next.8
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router

Package Version

@angular-devkit/architect 0.1200.0-next.8
@angular-devkit/build-angular 0.1200.0-next.8
@angular-devkit/core 12.0.0-next.8
@angular-devkit/schematics 12.0.0-next.8
@angular/cdk 12.0.0-next.6
@angular/fire 6.1.4
@angular/material 12.0.0-next.6
@nguniversal/builders 12.0.0-next.1
@nguniversal/express-engine 12.0.0-next.1
@schematics/angular 12.0.0-next.8
rxjs 6.6.6
typescript 4.2.3

Metadata

Metadata

Assignees

Labels

buglibRelates to an issue in the @angular/language-service library

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions