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•3y ago
Message Not Public
Sign In & Join Server To View
@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•3y ago
Message Not Public
Sign In & Join Server To View
and its just for the immediately below object
ah alright cool cool
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
thanks just wanted a high level overview to see why its used
thank you!
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Yeah
The whole internet was actually