-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Angular import marked error #2926
Comments
Seems like it is probably something to do with your tsconfig. Can you create a minimal repo so I can try to recreate this error? |
Sure! There it is: https://github.com/unsky559/t012 |
looks like this was fixed in typescript v5 microsoft/TypeScript#37238 |
Yes, these types were introduced in 7.0.1. This forces dependents to be on Typescript 5.0+ in order to use Marked 7.0.1+, which is unfortunate. |
Thank you all. I have updated my Typescript version to 5 and Angular version to 16 so that solved my issue. |
Marked version: 7.0.1
Describe the bug
When I trying to add Marked into my Angular project I got that errors:
Here is my component`s code fragments:
The text was updated successfully, but these errors were encountered: