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
Hi :D. I'm exercising the library pretty well at the moment. Well done on it. So far I've only ran into type issues with things like twice extending the Facet class, which wouldn't then carry props into the react component.
fluff
Hi :D. I'm exercising the library pretty well at the moment. Well done on it. So far I've only ran into type issues with things like twice extending the Facet class, which wouldn't then carry props into the react component.
Line causing type error
react-ecs/libs/core/src/lib/Query.ts
Line 20 in d06850b
How I found this
Regarding the line above:
If I have a query
Then follow up with a loop:
Would likely throw if I only added one of the two facets
FacetA
FacetB
. Even though they are definitely asserted on yourget(t)!
part.Indeed I can reproduce this here:
https://codesandbox.io/s/zealous-nobel-q5id3?file=/src/App.tsx
Suggested fixes
One of:
!
on the get statement| undefined
The text was updated successfully, but these errors were encountered: