moonwave icon indicating copy to clipboard operation
moonwave copied to clipboard

`@type` comments should auto-fill using the subsequent type definition

Open Nidoxs opened this issue 6 months ago • 2 comments

If you have declared a type in Luau and want to put that on your Moonwave documentation, you have to fill out the type value yourself. If it's a particularly long type, and one that changes often, it can be tedious to manage.

The @type comment, when no value is defined after the type name, should trigger the build process to look below and parse the type.

Example: image

It would be really cool for that type to be auto-filled for me.

Nidoxs avatar Aug 20 '24 22:08 Nidoxs