foundry-vtt-types
foundry-vtt-types copied to clipboard
Embedded Collections appear to be uncertain about their contents
trafficstars
Operations such as get, filter, and iterator-based access (e.g. for a of collection loops) appear to be uncertain about what exactly they're returning/accessing.
Can you give a small reproduction of the issue at hand? Like an example of a contradictory value?
Combat#combatants is the one I'm currently looking at in SWADE; it's giving Document.Any
If you have a commit I'll add it to the list of repos to make sure are fixed. The last time I saw something like this it occured because of a tiny config change. Fixing the root cause has been on my TODO list.