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

Unofficial type declarations for the Foundry Virtual Tabletop API
MIT License
111 stars 52 forks source link

Core Foundry Documentation Issues (v12) #2618

Open LukeAbby opened 1 month ago

LukeAbby commented 1 month ago

Please use this master issue to document all Core Foundry v12 documentation issues. This will eventually be filed as an issue on the Foundry issue tracker but in the meantime batching up issues is helpful. You may either edit this issue to add issues in a list below or make a comment on this issue in order to add to the list of known issues.

JPMeehan commented 1 month ago
esheyw commented 1 month ago
LukeAbby commented 1 month ago

Foundry does not document the file client-esm/dice/grammar.pegjs. This is primarily because it is a .pegjs file but they actually are able to document it if they generate documentation using this as of yet unreleased PR to Peggy.

Note: This isn't really an issue for fvtt-types as we can just generate the types ourselves. However people who want to see documentation for foundry.dice.RollGrammar will be unable to in core Foundry documentation.

NekroDarkmoon commented 4 weeks ago

foundry.dice.terms.DiceTerm#countEven and foundry.dice.terms.DiceTerm#countOdd take in a modifier argument but goes unused in the function itself.

esheyw commented 4 weeks ago

The type ShaderTechnique in client\pixi\webgl\shaders\lighting\base-lighting.js types several properties as |undefined without marking them as optional with []

esheyw commented 4 weeks ago

BaseSamplerShader.batchDefaultUniforms is set to {} and typed as object. However all three subclasses that override it (with inconsistent use of @override or @inheritDoc) supply a method with a single maxTex argument.