123ishaTest/ludiek

Unused Concepts don't show up in the union type

Aperta

#107 aperta il 11 ott 2025

 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (4 fork)auto 404
bugenginehelp wanted

Metriche repository

Star
 (12 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

If you create a Condition but don't use it in the evaluator, it breaks the resulting LudiekCondition union. It seems there needs to be at least a public method on the LudiekEvaluator that uses Condition as an argument for it to end up in the final union.

This is a very dangerous bug as any consuming concept can completely break the type system, leading to hard to debug situations

Guida contributor