Upgrade dependencies to fix @lezer/highlight declaration file #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ts_highlight_build_issue"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Using
"moduleResolution": "bundler", I am encountering the Typescript issue https://github.com/lezer-parser/highlight/issues/3Despite the error message suggesting '@lezer/highlight' needs fixing, this issue exists here because this project depends on @lezer-parser/highlight v1.0.0 when the fix is available in @lezer-parser/highlight v1.1.4. Like the resolution of https://github.com/lezer-parser/highlight/pull/10#issuecomment-1781798718, the solution is to upgrade to @lezer-parser/highlight >= v1.1.4
I can confirm this resolves my issue by adding the following override to my
package.json:While I was at it, I thought I'd also bump the other package versions to latest too. Only minor version upgrades were made.
I'm not tracking latest versions of dependencies in my packages unless they directly rely on some new feature in those dependencies. To solve this, just clear your own local package lock to get rid of the old version.
Pull request closed