Qiskit / web-components

Qiskit Web Components

Home Page:https://qiskit.github.io/web-components/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Linter import error

mentesniker opened this issue · comments

Hi, so when running npm run lint in #67 we have the following error:
image
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.