@types/three 0.158.2 → 0.158.3

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: Tue, 07 Nov 2023 15:11:36 GMT
11
+ * Last updated: Mon, 20 Nov 2023 23:36:24 GMT
12
12
  * Dependencies: [@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
@@ -1,6 +1,6 @@
1
1
  import { Object3D, SkinnedMesh, Vector3 } from '../../../src/Three.js';
2
2
 
3
- // tslint:disable-next-line:interface-name
3
+ // eslint-disable-next-line @typescript-eslint/naming-convention
4
4
  export interface IKS {
5
5
  effector: number;
6
6
  iteration?: number | undefined;
@@ -72,7 +72,7 @@ type AnyConstructors = Construtors<any, any, any, any>;
72
72
  /**
73
73
  * Returns all constructors where the first paramter is assignable to given "scope"
74
74
  */
75
- // tslint:disable-next-line:interface-over-type-literal
75
+ // eslint-disable-next-line @typescript-eslint/consistent-type-definitions
76
76
  type FilterConstructorsByScope<T extends AnyConstructors, S> = {
77
77
  a: S extends T['a'][0] ? T['a'] : undefined;
78
78
  b: S extends T['b'][0] ? T['b'] : undefined;
three/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/three",
3
- "version": "0.158.2",
3
+ "version": "0.158.3",
4
4
  "description": "TypeScript definitions for three",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/three",
6
6
  "license": "MIT",
@@ -44,6 +44,6 @@
44
44
  "fflate": "~0.6.10",
45
45
  "meshoptimizer": "~0.18.1"
46
46
  },
47
- "typesPublisherContentHash": "bd30f665c4aae2d34cec74eb774bbf624c68e8e74c75646018eab04f646058f2",
47
+ "typesPublisherContentHash": "63e0c6a37dc1c160eecdbe61741d097ff25ba5c1e0bd8a134ae21d23bc71b38f",
48
48
  "typeScriptVersion": "4.5"
49
49
  }
@@ -1,7 +1,7 @@
1
1
  import { Texture } from '../textures/Texture.js';
2
2
  import { RenderTarget, RenderTargetOptions } from '../core/RenderTarget.js';
3
3
 
4
- // tslint:disable-next-line:no-empty-interface
4
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
5
5
  export interface WebGLRenderTargetOptions extends RenderTargetOptions {}
6
6
 
7
7
  export class WebGLRenderTarget<TTexture extends Texture | Texture[] = Texture> extends RenderTarget<TTexture> {
@@ -2,7 +2,7 @@ import { Color } from '../../math/Color.js';
2
2
  import { Vector2 } from '../../math/Vector2.js';
3
3
  import { Matrix3 } from '../../math/Matrix3.js';
4
4
 
5
- // tslint:disable-next-line:interface-name
5
+ // eslint-disable-next-line @typescript-eslint/naming-convention
6
6
  export interface IUniform<TValue = any> {
7
7
  value: TValue;
8
8
  }
@@ -17,7 +17,7 @@ import {
17
17
  } from '../constants.js';
18
18
 
19
19
  /** Shim for OffscreenCanvas. */
20
- // tslint:disable-next-line:no-empty-interface
20
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
21
21
  export interface OffscreenCanvas extends EventTarget {}
22
22
 
23
23
  /**