Incorrect type definition for `getStrokeStyle` in `SVGLoader.d.ts`
Li1506 opened this issue ยท 1 comments
Li1506 commented
three-stdlib
version: 2.23.12
Problem description:
SVGLoader.pointsToStroke
takes Vector3[]
instead of Vector2[]
as first argument
Relevant code:
static pointsToStroke(
points: Vector3[],
style: StrokeStyle,
arcDivisions?: number,
minDistance?: number,
): BufferGeometry
Suggested solution:
static pointsToStroke(
points: Vector2[],
style: StrokeStyle,
arcDivisions?: number,
minDistance?: number,
): BufferGeometry
github-actions commented
๐ This issue has been resolved in version 2.23.15 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐