@react-three/fiber 8.13.4 → 8.13.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import * as THREE from 'three';
|
|
3
2
|
import { EventHandlers } from './core/events';
|
|
4
3
|
import { AttachType } from './core/renderer';
|
|
@@ -17,7 +16,7 @@ export declare type Vector2 = VectorLike<THREE.Vector2>;
|
|
|
17
16
|
export declare type Vector3 = VectorLike<THREE.Vector3>;
|
|
18
17
|
export declare type Vector4 = VectorLike<THREE.Vector4>;
|
|
19
18
|
export declare type Color = ConstructorParameters<typeof THREE.Color> | THREE.Color | number | string;
|
|
20
|
-
export declare type ColorArray = typeof THREE.Color |
|
|
19
|
+
export declare type ColorArray = typeof THREE.Color | [color: THREE.ColorRepresentation];
|
|
21
20
|
export declare type Layers = THREE.Layers | Parameters<THREE.Layers['set']>[0];
|
|
22
21
|
export declare type Quaternion = THREE.Quaternion | Parameters<THREE.Quaternion['set']>;
|
|
23
22
|
export declare type AttachCallback = string | ((child: any, parentInstance: any) => void);
|