Skip to content

Commit 154bd84

Browse files
authored
fix(types): support @types/[email protected] (#3191)
1 parent 6c830bd commit 154bd84

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/fiber/src/core/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { Dpr, Renderer, RootState, Size } from './store'
99
// < r141 shipped vendored types https://github.com/pmndrs/react-three-fiber/issues/2501
1010
/** @ts-ignore */
1111
type _DeprecatedXRFrame = THREE.XRFrame
12+
/** @ts-ignore */
1213
export type _XRFrame = THREE.WebGLRenderTargetOptions extends { samples?: number } ? XRFrame : _DeprecatedXRFrame
1314

1415
/**

packages/fiber/src/three-types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ export type QuaternionProps = Node<THREE.Quaternion, typeof THREE.Quaternion>
274274
export type BufferAttributeProps = Node<THREE.BufferAttribute, typeof THREE.BufferAttribute>
275275
export type Float16BufferAttributeProps = Node<THREE.Float16BufferAttribute, typeof THREE.Float16BufferAttribute>
276276
export type Float32BufferAttributeProps = Node<THREE.Float32BufferAttribute, typeof THREE.Float32BufferAttribute>
277+
/** @ts-ignore */
277278
export type Float64BufferAttributeProps = Node<THREE.Float64BufferAttribute, typeof THREE.Float64BufferAttribute>
278279
export type Int8BufferAttributeProps = Node<THREE.Int8BufferAttribute, typeof THREE.Int8BufferAttribute>
279280
export type Int16BufferAttributeProps = Node<THREE.Int16BufferAttribute, typeof THREE.Int16BufferAttribute>

0 commit comments

Comments
 (0)