NullEnt1ty / gmod-wiki-scraper

Extract GLua API documentation from the new Garry's Mod wiki
https://www.npmjs.com/package/gmod-wiki-scraper
MIT License
9 stars 1 forks source link

function overloads #29

Open Lexicality opened 1 week ago

Lexicality commented 1 week ago

Thanks for this, I use it in https://github.com/Lexicality/libgmod. I was just generating new type stubs when I noticed a bunch of functions (eg Vector) now have overloads which produces weird output. Any chance this could be handled differently? The language server I use suggests "it is recommended to instead write multiple function definitions, one for each needed signature" so just duplicate definitions would work great for me.

NullEnt1ty commented 1 week ago

Hey, that sounds doable. I'll try to take a look at this at the weekend 🙂.

Lexicality commented 1 week ago

Amazing, thank you