League-of-Foundry-Developers / foundry-vtt-types

Unofficial type declarations for the Foundry Virtual Tabletop API
MIT License
116 stars 56 forks source link

Implement generic for derived data in TypeDataModel #2558

Closed JPMeehan closed 4 months ago

JPMeehan commented 4 months ago

With the removal of interface Model extends Model.Properties, it's harder to add in derived data. A generic param on TypeDataModel to handle derived data would be helpful.

LukeAbby commented 4 months ago

Added in b88276206463cfbaa4d4d7532d455fd33d592270.