Closed Methuselah96 closed 7 months ago
When using this package with a strict package manager and skipLibCheck disabled, there's a TypeScript error:
skipLibCheck
Error: ./node_modules/stats-gl/dist/stats-gl.d.ts(1,24): error TS2307: Cannot find module 'three' or its corresponding type declarations.
This is caused by the fact that the type declarations import from three, and therefore require @types/three as a dependency.
three
@types/three
The latest updates on your projects. Learn more about Vercel for Git ↗︎
When using this package with a strict package manager and
skipLibCheck
disabled, there's a TypeScript error:This is caused by the fact that the type declarations import from
three
, and therefore require@types/three
as a dependency.