Skip to content
Johannes Loher edited this page Dec 5, 2021 · 1 revision

This page is a stub.

You can define the types of your own flags with declaration merging.

Some tests here demonstrate the technique: https://github.com/League-of-Foundry-Developers/foundry-vtt-types/blob/foundry-0.8.x/test-d/foundry/common/abstract/document.mjs.test-d.ts#L44

Clone this wiki locally