From 1177d0d5ec1dd6e347cce6fc65ce667f4fe0630e Mon Sep 17 00:00:00 2001 From: Hunter Barclay Date: Sun, 22 Sep 2024 17:09:19 -0600 Subject: [PATCH] refactor: Use optional instead of union type. Co-authored-by: PepperLola --- fission/src/systems/scene/GizmoSceneObject.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fission/src/systems/scene/GizmoSceneObject.ts b/fission/src/systems/scene/GizmoSceneObject.ts index 57d4758ef..3ee307f38 100644 --- a/fission/src/systems/scene/GizmoSceneObject.ts +++ b/fission/src/systems/scene/GizmoSceneObject.ts @@ -15,7 +15,7 @@ class GizmoSceneObject extends SceneObject { private _obj: Object3D private _forceUpdate: boolean = false - private _parentObject: MirabufSceneObject | undefined + private _parentObject?: MirabufSceneObject private _relativeTransformations?: Map private _mainCamera: PerspectiveCamera