@type
comments should auto-fill using the subsequent type definition
#155
Labels
@type
comments should auto-fill using the subsequent type definition
#155
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](https://private-user-images.githubusercontent.com/75750304/359661618-605cbaee-f8d2-4bd3-a3d2-728bf1d463f7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk3MTMzMzEsIm5iZiI6MTczOTcxMzAzMSwicGF0aCI6Ii83NTc1MDMwNC8zNTk2NjE2MTgtNjA1Y2JhZWUtZjhkMi00YmQzLWEzZDItNzI4YmYxZDQ2M2Y3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE2VDEzMzcxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIzYzdhNmYxOTE3OTk2NDg5ZTU4NzA4MTBiNzM5Y2EyNjAyNjZiZDk4MDMyMmM3YTc1NzY5Y2QxNTQwODFkNDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.2J7bvCIogWG5AMEcfaK1YgT1eiDsJudhc5f-Vv8L8D0)
It would be really cool for that type to be auto-filled for me.
The text was updated successfully, but these errors were encountered: