foundry-vtt-types icon indicating copy to clipboard operation
foundry-vtt-types copied to clipboard

Unofficial type declarations for the Foundry Virtual Tabletop API

Results 366 foundry-vtt-types issues
Sort by recently updated
recently updated
newest added
trafficstars

In `src/foundry/client-esm/canvas/sources/rendered-effect-source.d.mts`, the `animation` callback is currently typed as `AnyFunction` because it's very unclear what the intended type is for the function. ```ts /** * The animation function that runs...

foundry v12

Bumps [eslint](https://github.com/eslint/eslint) from 8.57.0 to 9.8.0. Release notes Sourced from eslint's releases. v9.8.0 Features 13d0bd3 feat: Add and use SourceCode#getLoc/getRange (#18703) (Nicholas C. Zakas) Bug Fixes ab0ff27 fix: Throw error...

dependencies
javascript

`resources/app/client/core/workers.js`

foundry v12

It currently doesn't handle things like readonly arrays and it doesn't seem to deal with functions appropriately. It also probably should be configured to never return `{}` as that's a...

foundry v11

`resources/app/client/core/hooks.js`

foundry v12

So far I've only identified one place that a `DataField#initial` is called with an argument and that is in `EmbeddedCollectionField#_cleanType`: ```js return value.map(v => this.schema.clean(v, {...options, source: v})); ``` `this.schema`...

Should mark _source as unknown, possibly all Schema properties as well. Maybe provides better typing for `DocumentCollection#getInvalid` than the pure `unknown` it currently returns.

foundry v11

`resources/app/client/core/settings.js`

foundry v12

`resources/app/client/core/packages.js`

foundry v12

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.3.3 to 5.5.4. Release notes Sourced from typescript's releases. TypeScript 5.5.4 For release notes, check out the release announcement. For the complete list of fixed issues, check...

dependencies
javascript