LastOliveGames / becsy

A multithreaded Entity Component System (ECS) for TypeScript and JavaScript, inspired by ECSY and bitecs.
MIT License
202 stars 17 forks source link

WIP: Add stricter `Query` types #8

Open marionebl opened 3 years ago

marionebl commented 3 years ago

This change is Reviewable

marionebl commented 3 years ago

test-d/query.test-d.ts, line 4 at r1 (raw file):

Previously, marionebl (Mario Nebl) wrote…
> Knowing nothing about tsd, should these tests be grouped into suites with describe or some such? I think there is no convention established around this as `tsd` is a pretty nice tool. The `test` function wrappers I use here are not used by the tool in any way, I just use them to provide a description. We could achieve the same thing via comments if you prefer, although I like the logical grouping the current variant established.

nice niche