Joseph
Joseph
This test suite from `tests/types/utils.test-d.ts` should all work, but it doesn't because the guarantee is stripped. ```ts declare const storedUser: StoredDocument; expectTypeOf(storedUser.id).toEqualTypeOf(); expectTypeOf(storedUser._id).toEqualTypeOf(); expectTypeOf(storedUser._source._id).toEqualTypeOf(); expectTypeOf(storedUser.toJSON()._id).toEqualTypeOf(); expectTypeOf(storedUser.toJSON()._id).toEqualTypeOf(); expectTypeOf(storedUser.toObject()._id).toEqualTypeOf(); expectTypeOf(storedUser.toObject()._id).toEqualTypeOf(); expectTypeOf(storedUser.toObject(false)._id).toEqualTypeOf(); expectTypeOf(storedUser.toObject(false)._id).toEqualTypeOf();...
Some documents have properties that are automatically indexed, e.g. actor name and img. Furthermore, systems can use CONFIG to make more properties automatically indexed. These would be improvements to `CompendiumCollection.IndexEntry`...
1. The helper `GetDataReturnType` should be used for the invocation of all instances of `getData` 2. The interface should be named `Data` and inside the namespace for the class, e.g....
As of v11, Effects have a `description` field, but it doesn't appear to be visible in the new sheet outside of directly editing the effect.
Currently, `_getChoices` only looks to return a `label` + `value` record. It should check for *all* valid FormSelectOption properties, such as `group`.
The [PackageCompatibility](https://foundryvtt.com/api/classes/foundry.packages.PackageCompatibility.html) and [PackageRelationships](https://foundryvtt.com/api/classes/foundry.PackageRelationships.html) fields do not properly share their `@property` values in the official docs. The type links for the typedefs in `resources/app/common/packages/module.mjs` are also broken, e.g. the compatibility...
The functions declared in `client/core/utils` are not included in the [online docs](https://foundryvtt.com/api/), including key functions like `fromUuid` and `fromUuidSync`
Should resolve remaining lint errors
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...