From 5ef58a1652f90668dbfc309f67b074cdcc914f34 Mon Sep 17 00:00:00 2001 From: "Vasiliy G. Stavenko" Date: Thu, 21 Jun 2018 13:41:52 +0300 Subject: [PATCH] Fix BufferGeometry field type --- types/three/three-core.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index b0798a61d9..548d42af88 100644 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -840,7 +840,9 @@ export class BufferGeometry extends EventDispatcher { name: string; type: string; index: BufferAttribute; - attributes: BufferAttribute|InterleavedBufferAttribute[]; + attributes: { + [name: string]: BufferAttribute|InterleavedBufferAttribute; + }; morphAttributes: any; groups: {start: number, count: number, materialIndex?: number}[]; boundingBox: Box3;