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

Unofficial type declarations for the Foundry Virtual Tabletop API
MIT License
115 stars 55 forks source link

Updated ClientDocument and TextEditor to v12 #2729

Closed JPMeehan closed 2 months ago

JPMeehan commented 3 months ago

Also included significant type fixes to TextEditor now that I understand partials better :)

(a v11 backport would also want to tackle changing all the MaybePromise into using EnrichmentOptions as a generic to discriminate promise & non-promise returns)

Resolves #2725 and #2679