From 07efc583a731ad9eb81bcb98b45413458edab95b Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Tue, 18 Sep 2018 14:29:01 -0400 Subject: [PATCH] Fix ExtrudeGeometry typo and parameter type --- types/three/three-core.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index 24bf1364f7..3c6c359679 100755 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -7241,7 +7241,7 @@ export class EdgesGeometry extends BufferGeometry { constructor(geometry: BufferGeometry | Geometry, thresholdAngle?: number); } -export interface ExtrueGeometryOptions { +export interface ExtrudeGeometryOptions { curveSegments?: number; steps?: number; depth?: number; @@ -7259,7 +7259,7 @@ export interface UVGenerator { } export class ExtrudeGeometry extends Geometry { - constructor(shape: Shape | Shape[], options?: ExtrueGeometryOptions); + constructor(shapes: Shape | Shape[], options?: ExtrudeGeometryOptions); static WorldUVGenerator: UVGenerator; @@ -7268,7 +7268,7 @@ export class ExtrudeGeometry extends Geometry { } export class ExtrudeBufferGeometry extends BufferGeometry { - constructor(shapes?: Shape[], options?: ExtrueGeometryOptions); + constructor(shapes: Shape | Shape[], options?: ExtrudeGeometryOptions); static WorldUVGenerator: UVGenerator;