Skip to content

Commit 5735022

Browse files
committed
Stricter base
1 parent eb81d3f commit 5735022

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

types/three/src/core/BufferGeometry.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ export type NormalOrGLBufferAttributes = Record<
4747
* @see {@link https://threejs.org/docs/index.html#api/en/core/BufferGeometry | Official Documentation}
4848
* @see {@link https://github.com/mrdoob/three.js/blob/master/src/core/BufferGeometry.js | Source}
4949
*/
50-
export class BufferGeometry<Attributes extends object = NormalBufferAttributes> extends EventDispatcher {
50+
export class BufferGeometry<
51+
Attributes extends NormalOrGLBufferAttributes = NormalBufferAttributes,
52+
> extends EventDispatcher {
5153
/**
5254
* This creates a new {@link THREE.BufferGeometry | BufferGeometry} object.
5355
*/

0 commit comments

Comments
 (0)