foundry-vtt-types
foundry-vtt-types copied to clipboard
Unofficial type declarations for the Foundry Virtual Tabletop API
`resources/app/common/abstract/data.mjs` Fairly minor updates overall, just held up by desire to minimize merge conflicts
ActorSheetV2 implements three native `actions` - `configurePrototypeToken`, `showPortraitArtwork`, and `showTokenArtwork`, which are handled by static private functions _but_ can be overridden by ActorSheetV2 subclasses. Right now, these actions are not...
I find it suspicious that for the options parameter that all of these methods use something like `Document.OnUpdateOptions`, the commonality being `any`. I believe that this will effectively make it...
Stuff like `getDefiningClass` to `AudioHelper` have been deprecated in v12 in favor of new paths like `foundry.utils.getDefiningClass`.
These errors have been introduced as a result of other datamodel related changes. Eliminate them. ```ts src/foundry/client/config.d.mts:382:33 - error TS2552: Cannot find name 'RollFunction'. Did you mean 'Function'? 382 functions:...
- Audit all uses of `CanvasViewPosition` and determine when fields are always filled in. This is probably just in canvasPan (if at all). - Rename `CanvasViewPosition` to `Canvas.ViewPosition` or possibly...