lit-analyzer is not compatible with latest TypeScript
bicknellr opened this issue · comments
I was about to create yet another issue when I found this one. Here's a really simple test case demonstrating the no-missing-import
rule yielding false positives because lit-analyzer can't resolve dependencies.
https://github.com/pmcelhaney/lit-analyzer-ts5-
I've traced the issue to this line.
After upgrading to TypeScript 5, getResolvedModuleWithFailedLookupLocationsFromCache
is not in the context.program
object, so lit-analyzer can't resolve dependencies and follow imports. I bet that's the root cause of multiple issues.
Bumping to say, I'm also hopeful for a fix to this.
I'm guessing this is related to #299
This should be fixed now, install the @next
tag