Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(template): use constructor injection for templateRef #1694

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

hoebbelsB
Copy link
Member

Description

Multiple users reported the issue that their IDE cannot infer the typings from our structural directives due to the inject method. Using the constructor based injection solves that issue. fixes #1616

Multiple users reported the issue that their IDE cannot infer the typings from our structural directives due to the `inject` method. Using the constructor based injection solves that issue
@hoebbelsB hoebbelsB requested a review from edbzn February 16, 2024 22:47
@github-actions github-actions bot added </> Template @rx-angular/template related πŸ”¬ Experimental Experimental: Feature, docs, demos labels Feb 16, 2024
@hoebbelsB hoebbelsB added 🐞 Bug Bug: Something isn't working and removed πŸ”¬ Experimental Experimental: Feature, docs, demos labels Feb 16, 2024
@hoebbelsB hoebbelsB merged commit 37867c1 into main Feb 26, 2024
@hoebbelsB hoebbelsB deleted the fix-template-typings branch February 26, 2024 08:11
@kkachniarz220
Copy link

maybe this should be reported to angular team?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug Bug: Something isn't working </> Template @rx-angular/template related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken template typings
3 participants