Quick Config Question

Id appreciate a quick explanation of what the @type is here? I see this in a a lot of config files. Is it JSDoc? Is it typescript stuff? A mix it seems? Do we only add it for autocomplete on the config object? Is visual studio code automatically doing this somehow? Thanks
8 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Perfect
Perfect2y ago
@PerryTheProgrammer ok cool, so jsdoc is basically something to define types in vanilla js? and an editor like vscode that supports jsdoc can show intellisense according to it
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Perfect
Perfect2y ago
and its just for the immediately below object ah alright cool cool
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Perfect
Perfect2y ago
thanks just wanted a high level overview to see why its used thank you!
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Perfect
Perfect2y ago
Yeah The whole internet was actually
Want results from more Discord servers?
Add your server