Linter import error
mentesniker opened this issue · comments
Hi, so when running npm run lint in #67 we have the following error:
However if we look inside lit standar docs, we can see that TemplateResult is indeed inside lit...
Oh! The error could be better...
The problem there is that TemplateResult
is a type.
Replace:
import { LitElement, html, TemplateResult } from 'lit';
With:
import { LitElement, html, type TemplateResult } from 'lit';
Yes you were rigth, I'm closing this issue as the problem was solved.