We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fb152d commit 1ed2ce6Copy full SHA for 1ed2ce6
src/components/rigidbody-component.ts
@@ -175,7 +175,7 @@ class RigidBodyComponentElement extends ComponentElement {
175
set type(value: string) {
176
this._type = value;
177
if (this.component) {
178
- this.component.type = value;
+ this.component.type = value as 'static' | 'dynamic' | 'kinematic';
179
}
180
181
0 commit comments