src/core/AccumulativeShadows.tsx:3:18 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
3 import { extend, ReactThreeFiber, useFrame, useThree } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/ArcballControls.tsx:1:24 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
1 import { EventManager, ReactThreeFiber, useFrame, useThree } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/BBAnchor.tsx:3:20 - error TS2305: Module '"@react-three/fiber"' has no exported member 'GroupProps'.
3 import { useFrame, GroupProps } from '@react-three/fiber'
~~~~~~~~~~
src/core/Clone.tsx:4:10 - error TS2305: Module '"@react-three/fiber"' has no exported member 'MeshProps'.
4 import { MeshProps } from '@react-three/fiber'
~~~~~~~~~
src/core/ComputedAttribute.tsx:1:10 - error TS2305: Module '"@react-three/fiber"' has no exported member 'BufferAttributeProps'.
1 import { BufferAttributeProps } from '@react-three/fiber'
~~~~~~~~~~~~~~~~~~~~
src/core/CubeCamera.tsx:62:24 - error TS2322: Type 'ReactNode' is not assignable to type '(ReactNode & {}) | Readonly<(ReactNode & {}) | undefined>'.
62 {children(fbo.texture)}
~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@react-three/fiber/dist/declarations/src/three-types.d.ts:25:5
25 children?: React.ReactNode;
~~~~~~~~
The expected type comes from property 'children' which is declared here on type 'Mutable & MathProps & Partial>>, Omit<...>>>'
src/core/Decal.tsx:10:20 - error TS2694: Namespace '"C:/dev/nt--drei/node_modules/@react-three/fiber/dist/nicetouch-react-three-fiber.cjs"' has no exported member 'Vector3'.
10 position?: FIBER.Vector3
~~~~~~~
src/core/Decal.tsx:11:20 - error TS2694: Namespace '"C:/dev/nt--drei/node_modules/@react-three/fiber/dist/nicetouch-react-three-fiber.cjs"' has no exported member 'Euler'.
11 rotation?: FIBER.Euler | number
~~~~~
src/core/Decal.tsx:12:17 - error TS2694: Namespace '"C:/dev/nt--drei/node_modules/@react-three/fiber/dist/nicetouch-react-three-fiber.cjs"' has no exported member 'Vector3'.
12 scale?: FIBER.Vector3
~~~~~~~
src/core/Decal.tsx:21:43 - error TS2694: Namespace '"C:/dev/nt--drei/node_modules/@react-three/fiber/dist/nicetouch-react-three-fiber.cjs"' has no exported member 'Vector3'.
21 function vecToArray(vec: number[] | FIBER.Vector3 | FIBER.Euler | number = [0, 0, 0]) {
~~~~~~~
src/core/Decal.tsx:21:59 - error TS2694: Namespace '"C:/dev/nt--drei/node_modules/@react-three/fiber/dist/nicetouch-react-three-fiber.cjs"' has no exported member 'Euler'.
21 function vecToArray(vec: number[] | FIBER.Vector3 | FIBER.Euler | number = [0, 0, 0]) {
~~~~~
src/core/DeviceOrientationControls.tsx:1:10 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
1 import { ReactThreeFiber, useFrame, useThree } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/Edges.tsx:1:10 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
1 import { ReactThreeFiber } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/Edges.tsx:19:56 - error TS2345: Argument of type '{}' is not assignable to parameter of type 'BufferGeometry'.
Type '{}' is missing the following properties from type 'BufferGeometry': id, uuid, name, type, and 53 more.
19 ref.current.geometry = new THREE.EdgesGeometry(geom, threshold)
~~~~
src/core/Effects.tsx:3:10 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
3 import { ReactThreeFiber, extend, useThree, useFrame } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/Environment.tsx:2:63 - error TS2305: Module '"@react-three/fiber"' has no exported member 'Object3DNode'.
2 import { useLoader, useThree, createPortal, useFrame, extend, Object3DNode } from '@react-three/fiber'
~~~~~~~~~~~~
src/core/Environment.tsx:98:9 - error TS2322: Type 'Texture | Texture[] | (Texture | Texture[])[]' is not assignable to type 'Texture | Texture[]'.
Type '(Texture | Texture[])[]' is not assignable to type 'Texture | Texture[]'.
Type '(Texture | Texture[])[]' is not assignable to type 'Texture[]'.
Type 'Texture | Texture[]' is not assignable to type 'Texture'.
Type 'Texture[]' is missing the following properties from type 'Texture': id, uuid, name, sourceFile, and 40 more.
98 const loaderResult: Texture | Texture[] = useLoader(
~~~~~~~~~~~~
src/core/FirstPersonControls.tsx:2:24 - error TS2305: Module '"@react-three/fiber"' has no exported member 'Object3DNode'.
2 import { EventManager, Object3DNode, useFrame, useThree } from '@react-three/fiber'
~~~~~~~~~~~~
src/core/FlyControls.tsx:1:24 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
1 import { EventManager, ReactThreeFiber, useFrame, useThree } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/Image.tsx:3:10 - error TS2305: Module '"@react-three/fiber"' has no exported member 'Color'.
3 import { Color, extend, useThree } from '@react-three/fiber'
~~~~~
src/core/Instances.tsx:3:10 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
3 import { ReactThreeFiber, extend, useFrame } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/Instances.tsx:201:18 - error TS2430: Interface 'MergedProps' incorrectly extends interface 'InstancesProps'.
Type 'MergedProps' is not assignable to type 'Mutable, ReactProps> & MathProps<...> & Partial<...>>>, Omit<...>>>'.
Types of property 'children' are incompatible.
Type 'ReactNode' is not assignable to type '(ReactNode & {}) | Readonly<(ReactNode & {}) | undefined>'.
Type 'null' is not assignable to type '(ReactNode & {}) | Readonly<(ReactNode & {}) | undefined>'.
201 export interface MergedProps extends InstancesProps {
~~~~~~~~~~~
src/core/Lightformer.tsx:1:22 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
1 import { applyProps, ReactThreeFiber, useThree } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/Line.tsx:3:10 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
3 import { ReactThreeFiber, useThree } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/MapControls.tsx:1:24 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
1 import { EventManager, ReactThreeFiber, useFrame, useThree } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/MeshRefractionMaterial.tsx:4:18 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
4 import { extend, ReactThreeFiber, useThree } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/OrbitControls.tsx:1:24 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
1 import { EventManager, ReactThreeFiber, useFrame, useThree } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/OrthographicCamera.tsx:81:11 - error TS2322: Type 'ReactNode' is not assignable to type '(ReactNode & {}) | Readonly<(ReactNode & {}) | undefined>'.
81 {!functional && children}
~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@react-three/fiber/dist/declarations/src/three-types.d.ts:25:5
25 children?: React.ReactNode;
~~~~~~~~
The expected type comes from property 'children' which is declared here on type 'Mutable & MathProps & Partial<...>>>, Omit<...>>>'
src/core/OrthographicCamera.tsx:83:31 - error TS2322: Type 'ReactNode' is not assignable to type '(ReactNode & {}) | Readonly<(ReactNode & {}) | undefined>'.
83 {functional && children(fbo.texture)}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@react-three/fiber/dist/declarations/src/three-types.d.ts:25:5
25 children?: React.ReactNode;
~~~~~~~~
The expected type comes from property 'children' which is declared here on type 'Mutable & MathProps & Partial>>, Omit<...>>>'
src/core/PerspectiveCamera.tsx:74:11 - error TS2322: Type 'ReactNode' is not assignable to type '(ReactNode & {}) | Readonly<(ReactNode & {})
| undefined>'.
74 {!functional && children}
~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@react-three/fiber/dist/declarations/src/three-types.d.ts:25:5
25 children?: React.ReactNode;
~~~~~~~~
The expected type comes from property 'children' which is declared here on type 'Mutable & MathProps & Partial<...>>>, Omit<...>>>'
src/core/PerspectiveCamera.tsx:76:31 - error TS2322: Type 'ReactNode' is not assignable to type '(ReactNode & {}) | Readonly<(ReactNode & {})
| undefined>'.
76 {functional && children(fbo.texture)}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@react-three/fiber/dist/declarations/src/three-types.d.ts:25:5
25 children?: React.ReactNode;
~~~~~~~~
The expected type comes from property 'children' which is declared here on type 'Mutable & MathProps & Partial>>, Omit<...>>>'
src/core/PointerLockControls.tsx:1:24 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
1 import { EventManager, ReactThreeFiber, RootState, useThree } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/PointMaterial.tsx:3:10 - error TS2305: Module '"@react-three/fiber"' has no exported member 'PrimitiveProps'.
3 import { PrimitiveProps } from '@react-three/fiber'
~~~~~~~~~~~~~~
src/core/Points.tsx:3:10 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
3 import { ReactThreeFiber, extend, useFrame } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/QuadraticBezierLine.tsx:6:10 - error TS2305: Module '"@react-three/fiber"' has no exported member 'Object3DNode'.
6 import { Object3DNode } from '@react-three/fiber'
~~~~~~~~~~~~
src/core/Sampler.tsx:6:10 - error TS2305: Module '"@react-three/fiber"' has no exported member 'GroupProps'.
6 import { GroupProps } from '@react-three/fiber'
~~~~~~~~~~
src/core/Segments.tsx:4:28 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
4 import { extend, useFrame, ReactThreeFiber } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/Sky.tsx:2:10 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
2 import { ReactThreeFiber } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/Sparkles.tsx:3:10 - error TS2305: Module '"@react-three/fiber"' has no exported member 'PointsProps'.
3 import { PointsProps, useThree, useFrame, extend, Node } from '@react-three/fiber'
~~~~~~~~~~~
src/core/Sparkles.tsx:3:51 - error TS2305: Module '"@react-three/fiber"' has no exported member 'Node'.
3 import { PointsProps, useThree, useFrame, extend, Node } from '@react-three/fiber'
~~~~
src/core/SpotLight.tsx:64:47 - error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.
64 radiusBottom = radiusBottom === undefined ? angle * 7 : radiusBottom
~~~~~
src/core/SpotLight.tsx:72:68 - error TS2345: Argument of type '{} | Readonly<{}>' is not assignable to parameter of type 'number | undefined'. Type '{}' is not assignable to type 'number'.
72 const geometry = new CylinderGeometry(radiusTop, radiusBottom, distance, 128, 64, true)
~~~~~~~~
src/core/Stars.tsx:3:10 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
3 import { ReactThreeFiber, useFrame } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/Svg.tsx:1:10 - error TS2305: Module '"@react-three/fiber"' has no exported member 'MeshBasicMaterialProps'.
1 import { MeshBasicMaterialProps, MeshProps, Object3DProps, useLoader } from '@react-three/fiber'
~~~~~~~~~~~~~~~~~~~~~~
src/core/Svg.tsx:1:34 - error TS2305: Module '"@react-three/fiber"' has no exported member 'MeshProps'.
1 import { MeshBasicMaterialProps, MeshProps, Object3DProps, useLoader } from '@react-three/fiber'
~~~~~~~~~
src/core/Svg.tsx:1:45 - error TS2305: Module '"@react-three/fiber"' has no exported member 'Object3DProps'.
1 import { MeshBasicMaterialProps, MeshProps, Object3DProps, useLoader } from '@react-three/fiber'
~~~~~~~~~~~~~
src/core/Text.tsx:4:10 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
4 import { ReactThreeFiber, useThree } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/Text3D.tsx:3:18 - error TS2305: Module '"@react-three/fiber"' has no exported member 'MeshProps'.
3 import { extend, MeshProps, Node } from '@react-three/fiber'
~~~~~~~~~
src/core/Text3D.tsx:3:29 - error TS2305: Module '"@react-three/fiber"' has no exported member 'Node'.
3 import { extend, MeshProps, Node } from '@react-three/fiber'
~~~~
src/core/TrackballControls.tsx:1:10 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
1 import { ReactThreeFiber, useFrame, useThree } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/Trail.tsx:163:24 - error TS2322: Type 'ReactNode' is not assignable to type '(ReactNode & {}) | Readonly<(ReactNode & {}) | undefined>'.
163 {children}
~~~~~~~~~~
node_modules/@react-three/fiber/dist/declarations/src/three-types.d.ts:25:5
25 children?: React.ReactNode;
~~~~~~~~
The expected type comes from property 'children' which is declared here on type 'Mutable & MathProps & Partial>>, Omit<...>>>'
src/core/TransformControls.tsx:1:10 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
1 import { ReactThreeFiber, useThree } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/useBoxProjectedEnv.tsx:3:22 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
3 import { applyProps, ReactThreeFiber } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/core/useGLTF.tsx:36:26 - error TS2558: Expected 3-4 type arguments, but got 2.
36 const gltf = useLoader(GLTFLoader, path, extensions(useDraco, useMeshOpt, extendLoader))
~~~~~~~
src/web/Html.tsx:5:10 - error TS2305: Module '"@react-three/fiber"' has no exported member 'ReactThreeFiber'.
5 import { ReactThreeFiber, useFrame, useThree } from '@react-three/fiber'
~~~~~~~~~~~~~~~
src/web/pivotControls/index.tsx:268:38 - error TS2322: Type 'ReactNode' is not assignable to type '(ReactNode & {}) | Readonly<(ReactNode & {}) | undefined>'.
268 {children}
~~~~~~~~~~
node_modules/@react-three/fiber/dist/declarations/src/three-types.d.ts:25:5
25 children?: React.ReactNode;
~~~~~~~~
The expected type comes from property 'children' which is declared here on type 'Mutable & MathProps & Partial>>, Omit<...>>>'
src/web/PresentationControls.tsx:77:5 - error TS2589: Type instantiation is excessively deep and possibly infinite.
77
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
78 {children}
~~~~~~~~~~~~~~~~
79
~~~~~~~~~~~~~~
src/web/ScrollControls.tsx:204:47 - error TS2322: Type 'ReactNode' is not assignable to type '(ReactNode & {}) | Readonly<(ReactNode & {}) | undefined>'.
Type 'null' is not assignable to type '(ReactNode & {}) | Readonly<(ReactNode & {}) | undefined>'.
204 return {children}
~~~~~~~~~~
node_modules/@react-three/fiber/dist/declarations/src/three-types.d.ts:25:5
25 children?: React.ReactNode;
~~~~~~~~
The expected type comes from property 'children' which is declared here on type 'Mutable & MathProps & Partial>>, Omit<...>>>'
src/web/View.tsx:180:51 - error TS2739: Type '{ width: number; height: number; }' is missing the following properties from type 'Size': top, left
180 { events: { compute, priority: index }, size: { width: rect.current.width, height: rect.current.height } }