love2d-community / love-api

The whole LÖVE wiki in a Lua table.
http://love2d-community.github.io/love-api/
299 stars 46 forks source link

Replace "value" type with actual permitted types #94

Closed Fang- closed 3 years ago

Fang- commented 3 years ago

In all cases, the type "value" was described in more precise terms in the entry's description. This PR simply copies the definition from the description over into the type.

Precedent for the used notation ("x or y") exists in Rasterizer:hasGlyphs and love.graphics.newImage.

Fang- commented 3 years ago

I guess this should be done in the wiki also, as per the contributing.md? Kind of hesitant though, considering changes apply instantly I think. Happy to do the work, if someone can confirm that this change is righteous.

hahawoo commented 3 years ago

This makes sense to me, thank you! Unfortunately I am not the arbiter of righteousness regarding the wiki.