Skip to content

Commit 46b1b68

Browse files
committed
Fix unnecessary initialized assertions
1 parent da139ae commit 46b1b68

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/renderer/Drawable.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ class SpriteTransformDiff {
2727
private _sprite: Sprite | Stage;
2828
private _unset: boolean;
2929

30-
private _lastX!: Sprite["x"] | undefined;
31-
private _lastY!: Sprite["y"] | undefined;
32-
private _lastRotation!: Sprite["direction"] | undefined;
33-
private _lastRotationStyle!: Sprite["rotationStyle"] | undefined;
34-
private _lastSize!: Sprite["size"] | undefined;
30+
private _lastX: Sprite["x"] | undefined;
31+
private _lastY: Sprite["y"] | undefined;
32+
private _lastRotation: Sprite["direction"] | undefined;
33+
private _lastRotationStyle: Sprite["rotationStyle"] | undefined;
34+
private _lastSize: Sprite["size"] | undefined;
3535
private _lastCostume!: Sprite["costume"];
3636
private _lastCostumeLoaded!: boolean;
3737

0 commit comments

Comments
 (0)