You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use lit-element-starter-ts to check out docs functionality but pnpm run docs throws a type error.
error TS2688: Cannot find type definition file for 'mocha'.
The file is in the program because:
Entry point of type library 'mocha' specified in compilerOptions
tsconfig.json:30:15
30 "types": ["mocha"]
~~~~~~~
File is entry point of type library specified here.
Found 1 error.
Reproduction
git clone https://github.com/lit/lit-element-starter-ts
cd lit-element-starter-ts
pnpm i
pnpm run docs
Workaround
pnpm i -D @types/mocha
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
lit 3.1.2
Browser/OS/Node environment
node v21.6.2
pnpm v8.15.1
The text was updated successfully, but these errors were encountered:
majidsajadi
changed the title
missing type definition for mocha
[lit-starter-ts] missing type definition for mochaMar 24, 2024
Which package(s) are affected?
Starter Kits (@lit/lit-starter-js / @lit/lit-starter-ts)
Description
I tried to use
lit-element-starter-ts
to check out docs functionality butpnpm run docs
throws a type error.Reproduction
git clone https://github.com/lit/lit-element-starter-ts cd lit-element-starter-ts pnpm i pnpm run docs
Workaround
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
lit 3.1.2
Browser/OS/Node environment
node v21.6.2
pnpm v8.15.1
The text was updated successfully, but these errors were encountered: