You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After migrating from 0.3.2 to 0.4.1-rc.0 a list of type errors popped up when building the project.
The first kind of errors:
Argument of type 'Entity<MY_COMPONENT>' is not assignable to parameter of type 'Entity<undefined>'.
Type 'Entity<MY_COMPONENT>' is not assignable to type '{ __jecs_value: undefined; }'.
Types of property '__jecs_value' are incompatible.
Type 'MY_COMPONENT' is not assignable to type 'undefined'.
The second kind of errors:
Argument of type 'unknown' is not assignable to parameter of type 'T'.
'T' could be instantiated with an arbitrary type which could be unrelated to 'unknown'.
world.set(entity, component, componentData)
The latest types seem to be inconsistent with the "flecs" terminology "jecs" relies on.
The text was updated successfully, but these errors were encountered:
After migrating from 0.3.2 to 0.4.1-rc.0 a list of type errors popped up when building the project.
The first kind of errors:
The second kind of errors:
The latest types seem to be inconsistent with the "flecs" terminology "jecs" relies on.
The text was updated successfully, but these errors were encountered: