foundry-vtt-types
foundry-vtt-types copied to clipboard
Update `types.mjs`
trafficstars
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
typesa laclient.mjs - Make individual type fixes for the v11=>v12 changes
- Possibly the "correct export" for #2674
another TODO left from #2600 and #2743 - remove DocumentModificationContext.
- Foundry leaves the
optionsfor_preCreatefunctionally untyped (object without corresponding typedef) - Type should be an easily extensible interface, as at least for
_preCreatethe options are largely forwarded from the initialoperation