BufferGeometryUtils mergeVertices not available in typeScript

I am trying to convert non-indexed geometry to indexed geometry using “BufferGeometryUtils.mergeVertices” in typeScript.

But error occcured
“Property ‘mergeVertices’ does not exist on type ‘typeof BufferGeometryUtils’”

mergeVertices() is a method of BufferGeometryUtils, not a property.

1 Like

Please see this, I have used it as method


found my error.

I am importing BufferGeometryUtils from three instead of utils