RenaudRohlinger / stats-gl

https://stats.renaudrohlinger.com/
167 stars 7 forks source link

Move @types/three to dependencies #6

Closed Methuselah96 closed 4 months ago

Methuselah96 commented 7 months ago

When using this package with a strict package manager and skipLibCheck disabled, there's a TypeScript error:

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.

vercel[bot] commented 7 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
stats-gl ❌ Failed (Inspect) Apr 1, 2024 4:42am