foundry-vtt-types
foundry-vtt-types copied to clipboard
Unofficial type declarations for the Foundry Virtual Tabletop API
`resources/app/common/types.mjs` - Consider if these are still supposed to be in the global scope or to change them to module exports as `types` a la `client.mjs` - Make individual type...
`resources/app/client/data/documents/combatant.js`
Couple concerns: - Typed a lot of `static override fragmentShader` in subclasses as `string | ((...args: any[]) => string)` instead of just `string`, which matches the `AbstractBaseShader` typing, but I...
After some testing, you can absolutely provide data models for the `base` type and any other core-provided types. Our implementation of `TypeDataField` should reflect that. We should also make sure...
For example - convert to interfaces - Look at the typing of stuff like: ```ts static override create< T extends VisualEffectsMaskingFilter, Options extends VisualEffectsMaskingFilter.CreateOptions, >(this: ConstructorOf, { filterMode, postProcessModes, ...uniforms...
`resources/app/client/data/documents/tile.js`
[baseChatMessage.patch](https://github.com/user-attachments/files/16429476/baseChatMessage.patch)