diff --git a/spine-ts/spine-core/src/SkeletonJson.ts b/spine-ts/spine-core/src/SkeletonJson.ts
index 41b36abd5..82ec1bb97 100644
--- a/spine-ts/spine-core/src/SkeletonJson.ts
+++ b/spine-ts/spine-core/src/SkeletonJson.ts
@@ -343,7 +343,7 @@ export class SkeletonJson {
if (!data.bone) throw new Error("Slider bone not found: " + boneName);
const property = constraintMap.property;
data.property = this.fromProperty(property);
- data.property.offset = constraintMap.getFloat("offset", 0) * this.propertyScale(property, scale);
+ data.property.offset = getValue(constraintMap, "offset", 0) * this.propertyScale(property, scale);
data.scale = getValue(constraintMap, "scale", 1);
data.local = getValue(constraintMap, "local", false);
}
diff --git a/spine-ts/spine-core/src/Slider.ts b/spine-ts/spine-core/src/Slider.ts
index ed8b1a159..6a69a823c 100644
--- a/spine-ts/spine-core/src/Slider.ts
+++ b/spine-ts/spine-core/src/Slider.ts
@@ -39,7 +39,7 @@ import { SliderPose } from "./SliderPose";
*
* See Physics constraints in the Spine User Guide. */
export class Slider extends Constraint {
- private static readonly offsets = new Array();
+ private static readonly offsets = [0, 0, 0, 0, 0, 0];
bone: Bone | null = null;
diff --git a/spine-ts/spine-core/src/attachments/RegionAttachment.ts b/spine-ts/spine-core/src/attachments/RegionAttachment.ts
index 8b2a4780a..36d2fd6cf 100644
--- a/spine-ts/spine-core/src/attachments/RegionAttachment.ts
+++ b/spine-ts/spine-core/src/attachments/RegionAttachment.ts
@@ -70,7 +70,7 @@ export class RegionAttachment extends Attachment implements HasTextureRegion {
/** For each of the 4 vertices, a pair of x,y values that is the local position of the vertex.
*
- * See {@link #updateOffset()}. */
+ * See {@link #updateRegion()}. */
offset = Utils.newFloatArray(8);
uvs = Utils.newFloatArray(8);