Skip to content

Fixed wrong DOCUMENT import. Change from @angular/core to @angular/common#2141

Open
najack60 wants to merge 1 commit into
damienbod:mainfrom
najack60:fixed-wrong-document-import
Open

Fixed wrong DOCUMENT import. Change from @angular/core to @angular/common#2141
najack60 wants to merge 1 commit into
damienbod:mainfrom
najack60:fixed-wrong-document-import

Conversation

@najack60

@najack60 najack60 commented Oct 2, 2025

Copy link
Copy Markdown

I was getting build errors that were happening because DOCUMENT was getting imported from @angular/core instead of @angular/common. This PR addresses that issue.

@timdeschryver

Copy link
Copy Markdown
Contributor

What version of Angular are you on (you will need v20.x)?

@najack60

Copy link
Copy Markdown
Author

What version of Angular are you on (you will need v20.x)?

I'm on version: 19.1.7. Are you saying this could be fixed by upgrading to v20.x, or that I need to be on version 20.x to contribute?

@timdeschryver

Copy link
Copy Markdown
Contributor

What version of Angular are you on (you will need v20.x)?

I'm on version: 19.1.7. Are you saying this could be fixed by upgrading to v20.x, or that I need to be on version 20.x to contribute?

You should keep the versions in sync.
If you're using Angular 19.x, I recommend using 19.x of this library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants