[ts] Add missing js extension on imports.

This commit is contained in:
Davide Tantillo 2025-07-18 14:28:18 +02:00
parent 0099c9b03a
commit cb9bdc8294
11 changed files with 45 additions and 46 deletions

View File

@ -27,8 +27,8 @@
* THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************/ *****************************************************************************/
import { Inherit } from "./BoneData"; import { Inherit } from "./BoneData.js";
import { Pose } from "./Pose" import { Pose } from "./Pose.js"
/** Stores a bone's local pose. */ /** Stores a bone's local pose. */
export class BoneLocal implements Pose<BoneLocal> { export class BoneLocal implements Pose<BoneLocal> {

View File

@ -27,13 +27,13 @@
* THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************/ *****************************************************************************/
import { Bone } from "./Bone"; import { Bone } from "./Bone.js";
import { Inherit } from "./BoneData"; import { Inherit } from "./BoneData.js";
import { BoneLocal } from "./BoneLocal"; import { BoneLocal } from "./BoneLocal.js";
import { Physics } from "./Physics"; import { Physics } from "./Physics.js";
import { Skeleton } from "./Skeleton"; import { Skeleton } from "./Skeleton.js";
import { Update } from "./Update"; import { Update } from "./Update.js";
import { MathUtils, Vector2 } from "./Utils"; import { MathUtils, Vector2 } from "./Utils.js";
/** The applied pose for a bone. This is the {@link Bone} pose with constraints applied and the world transform computed by /** The applied pose for a bone. This is the {@link Bone} pose with constraints applied and the world transform computed by
* {@link Skeleton#updateWorldTransform()}. */ * {@link Skeleton#updateWorldTransform()}. */

View File

@ -27,12 +27,12 @@
* THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************/ *****************************************************************************/
import { ConstraintData } from "./ConstraintData"; import { ConstraintData } from "./ConstraintData.js";
import { Physics } from "./Physics"; import { Physics } from "./Physics.js";
import { Pose } from "./Pose"; import { Pose } from "./Pose.js";
import { PosedActive } from "./PosedActive"; import { PosedActive } from "./PosedActive.js";
import { Skeleton } from "./Skeleton"; import { Skeleton } from "./Skeleton.js";
import { Update } from "./Update"; import { Update } from "./Update.js";
export abstract class Constraint< export abstract class Constraint<
T extends Constraint<T, D, P>, T extends Constraint<T, D, P>,

View File

@ -27,10 +27,10 @@
* THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************/ *****************************************************************************/
import { Constraint } from "./Constraint"; import { Constraint } from "./Constraint.js";
import { Pose } from "./Pose"; import { Pose } from "./Pose.js";
import { PosedData } from "./PosedData"; import { PosedData } from "./PosedData.js";
import { Skeleton } from "./Skeleton"; import { Skeleton } from "./Skeleton.js";
/** The base class for all constraint datas. */ /** The base class for all constraint datas. */
export abstract class ConstraintData< export abstract class ConstraintData<

View File

@ -27,8 +27,8 @@
* THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************/ *****************************************************************************/
import { Pose } from "./Pose"; import { Pose } from "./Pose.js";
import { PosedData } from "./PosedData"; import { PosedData } from "./PosedData.js";
export abstract class Posed< export abstract class Posed<
D extends PosedData<P>, D extends PosedData<P>,

View File

@ -27,9 +27,9 @@
* THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************/ *****************************************************************************/
import { Pose } from "./Pose"; import { Pose } from "./Pose.js";
import { Posed } from "./Posed"; import { Posed } from "./Posed.js";
import { PosedData } from "./PosedData"; import { PosedData } from "./PosedData.js";
import type { Skeleton } from "./Skeleton"; import type { Skeleton } from "./Skeleton";

View File

@ -27,7 +27,7 @@
* THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************/ *****************************************************************************/
import { Pose } from "./Pose"; import { Pose } from "./Pose.js";
/** The base class for all constrained datas. */ /** The base class for all constrained datas. */
export abstract class PosedData<P extends Pose<any>> { export abstract class PosedData<P extends Pose<any>> {

View File

@ -27,13 +27,13 @@
* THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************/ *****************************************************************************/
import { isConstraintTimeline, isSlotTimeline, MixBlend, MixDirection, PhysicsConstraintTimeline } from "./Animation"; import { isConstraintTimeline, isSlotTimeline, MixBlend, MixDirection, PhysicsConstraintTimeline } from "./Animation.js";
import { Bone } from "./Bone"; import { Bone } from "./Bone.js";
import { Constraint } from "./Constraint"; import { Constraint } from "./Constraint.js";
import { Physics } from "./Physics"; import { Physics } from "./Physics.js";
import { Skeleton } from "./Skeleton"; import { Skeleton } from "./Skeleton.js";
import { SliderData } from "./SliderData"; import { SliderData } from "./SliderData.js";
import { SliderPose } from "./SliderPose"; import { SliderPose } from "./SliderPose.js";
/** Stores the setup pose for a {@link PhysicsConstraint}. /** Stores the setup pose for a {@link PhysicsConstraint}.
* *

View File

@ -27,13 +27,13 @@
* THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************/ *****************************************************************************/
import { Animation } from "./Animation"; import { Animation } from "./Animation.js";
import { BoneData } from "./BoneData"; import { BoneData } from "./BoneData.js";
import { ConstraintData } from "./ConstraintData"; import { ConstraintData } from "./ConstraintData.js";
import { Skeleton } from "./Skeleton"; import { Skeleton } from "./Skeleton.js";
import { Slider } from "./Slider"; import { Slider } from "./Slider.js";
import { SliderPose } from "./SliderPose"; import { SliderPose } from "./SliderPose.js";
import { FromProperty } from "./TransformConstraintData"; import { FromProperty } from "./TransformConstraintData.js";
/** Stores the setup pose for a {@link SliderConstraint}. /** Stores the setup pose for a {@link SliderConstraint}.
* *

View File

@ -27,7 +27,7 @@
* THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************/ *****************************************************************************/
import { Pose } from "./Pose"; import { Pose } from "./Pose.js";
/** Stores a pose for a slider. */ /** Stores a pose for a slider. */
export class SliderPose implements Pose<SliderPose> { export class SliderPose implements Pose<SliderPose> {

View File

@ -27,12 +27,11 @@
* THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************/ *****************************************************************************/
import { Pose } from "./Pose"; import { Pose } from "./Pose.js";
import { Color } from "./Utils"; import { Color } from "./Utils.js";
import { VertexAttachment } from "./attachments/Attachment.js";
import { VertexAttachment } from "./attachments/Attachment"; import { Attachment } from "./attachments/Attachment.js";
import { Attachment } from "./attachments/Attachment"; import type { Sequence } from "./attachments/Sequence.js";
import type { Sequence } from "./attachments/Sequence";
/** Stores a slot's pose. Slots organize attachments for {@link Skeleton#drawOrder} purposes and provide a place to store state /** Stores a slot's pose. Slots organize attachments for {@link Skeleton#drawOrder} purposes and provide a place to store state
* for an attachment. State cannot be stored in an attachment itself because attachments are stateless and may be shared across * for an attachment. State cannot be stored in an attachment itself because attachments are stateless and may be shared across