Open Methuselah96 opened 2 days ago
three
@react-three/fiber
@react-three/drei
node
npm
yarn
Running type-checking with skipLibCheck set to false reports the following error:
skipLibCheck
false
Error: ./node_modules/@react-three/drei/core/Bvh.d.ts(1,22): error TS6053: File './node_modules/@react-three/custom.d.ts' not found.
The problem can be seen by inspecting Bvh.d.ts, which has a reference to custom.d.ts which is not within the published package:
Bvh.d.ts
custom.d.ts
This is likely introduced in https://github.com/pmndrs/drei/pull/1999, with the TypeScript version upgrade.
N/A
Remove custom.d.ts: https://github.com/pmndrs/drei/pull/2014
three
version: N/A@react-three/fiber
version: N/A@react-three/drei
version: 9.108.1node
version: N/Anpm
(oryarn
) version: N/AProblem description:
Running type-checking with
skipLibCheck
set tofalse
reports the following error:The problem can be seen by inspecting
Bvh.d.ts
, which has a reference tocustom.d.ts
which is not within the published package:This is likely introduced in https://github.com/pmndrs/drei/pull/1999, with the TypeScript version upgrade.
Relevant code:
N/A
Suggested solution:
Remove custom.d.ts: https://github.com/pmndrs/drei/pull/2014