@types/three 0.184.0 → 0.184.1

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.
three/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for three (https://threejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/three.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 16 Apr 2026 19:29:33 GMT
11
+ * Last updated: Wed, 06 May 2026 23:46:00 GMT
12
12
  * Dependencies: [@dimforge/rapier3d-compat](https://npmjs.com/package/@dimforge/rapier3d-compat), [@tweenjs/tween.js](https://npmjs.com/package/@tweenjs/tween.js), [@types/stats.js](https://npmjs.com/package/@types/stats.js), [@types/webxr](https://npmjs.com/package/@types/webxr), [fflate](https://npmjs.com/package/fflate), [meshoptimizer](https://npmjs.com/package/meshoptimizer)
13
13
 
14
14
  # Credits
three/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/three",
3
- "version": "0.184.0",
3
+ "version": "0.184.1",
4
4
  "description": "TypeScript definitions for three",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/three",
6
6
  "license": "MIT",
@@ -48,6 +48,6 @@
48
48
  "meshoptimizer": "~1.1.1"
49
49
  },
50
50
  "peerDependencies": {},
51
- "typesPublisherContentHash": "f8c904fe9436f52dd99554bc6148a82c9f37b2ffaef52f8ce72cbbda13d43ceb",
51
+ "typesPublisherContentHash": "67363064a17642624b2c45fc4f61890fb71a24dafc84869a7c0661c82d47d208",
52
52
  "typeScriptVersion": "5.3"
53
53
  }
@@ -12,7 +12,7 @@ export type Matrix2Tuple = [
12
12
  * const m = new Matrix2();
13
13
  */
14
14
  export class Matrix2 {
15
- static readonly isMatrix2: boolean;
15
+ readonly isMatrix2: true;
16
16
 
17
17
  /**
18
18
  * A {@link https://en.wikipedia.org/wiki/Row-_and_column-major_order column-major} list of matrix values.
@@ -17,7 +17,7 @@ export type Matrix3Tuple = [
17
17
  ];
18
18
 
19
19
  export class Matrix3 {
20
- static readonly isMatrix3: boolean;
20
+ readonly isMatrix3: true;
21
21
 
22
22
  /**
23
23
  * Array with matrix values.
@@ -42,7 +42,7 @@ export type Matrix4Tuple = [
42
42
  * m.multiply( m3 );
43
43
  */
44
44
  export class Matrix4 {
45
- static readonly isMatrix4: boolean;
45
+ readonly isMatrix4: true;
46
46
 
47
47
  /**
48
48
  * Array with matrix values.
@@ -12,8 +12,6 @@ export interface Vector2Like {
12
12
  * 2D vector.
13
13
  */
14
14
  export class Vector2 {
15
- static readonly isVector2: boolean;
16
-
17
15
  constructor(x?: number, y?: number);
18
16
 
19
17
  /**
@@ -27,6 +25,7 @@ export class Vector2 {
27
25
  y: number;
28
26
  width: number;
29
27
  height: number;
28
+ readonly isVector2: true;
30
29
 
31
30
  /**
32
31
  * Sets value of this vector.
@@ -29,8 +29,6 @@ export interface Vector3Like {
29
29
  * c.crossVectors( a, b );
30
30
  */
31
31
  export class Vector3 {
32
- static readonly isVector3: boolean;
33
-
34
32
  constructor(x?: number, y?: number, z?: number);
35
33
 
36
34
  /**
@@ -47,6 +45,7 @@ export class Vector3 {
47
45
  * @default 0
48
46
  */
49
47
  z: number;
48
+ readonly isVector3: true;
50
49
 
51
50
  /**
52
51
  * Sets value of this vector.
@@ -15,8 +15,6 @@ export interface Vector4Like {
15
15
  * 4D vector.
16
16
  */
17
17
  export class Vector4 {
18
- static readonly isVector4: boolean;
19
-
20
18
  constructor(x?: number, y?: number, z?: number, w?: number);
21
19
 
22
20
  /**
@@ -41,6 +39,7 @@ export class Vector4 {
41
39
 
42
40
  width: number;
43
41
  height: number;
42
+ readonly isVector4: true;
44
43
 
45
44
  /**
46
45
  * Sets value of this vector.