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

Unofficial type declarations for the Foundry Virtual Tabletop API
MIT License
116 stars 56 forks source link

CanvasDocument `object` and `layer` resolve to `any` #2559

Closed JPMeehan closed 4 months ago

JPMeehan commented 4 months ago

The tests in tests/foundry/client/data/abstract/canvas-document.test-d.ts check that doc.object and doc.layer are the appropriate specified types. However, despite the resolution of the circularity issues, the parsing of the types does not appear to be functional and it's just parsing as any

LukeAbby commented 4 months ago

Fixed, probably by 88da04e4c5ade6beaf7db386393d8e77e9abe714.