jsdoc: fix double parens (#430)

This commit is contained in:
gianlucaelia 2024-04-29 03:12:03 +02:00 committed by GitHub
parent 92864a9edf
commit d595a2e780
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -434,21 +434,21 @@
"param": {
"prefix": "@param",
"body": [
"@param ${{1:type}} ${2:paranName} - ${3:paramDescription}$0"
"@param {${1:type}} ${2:paranName} - ${3:paramDescription}$0"
],
"description": "Provides the name, type, and description of a function parameter. Synonysm of @arg and @argument."
},
"arg": {
"prefix": "@arg",
"body": [
"@arg ${{1:type}} ${2:paranName} - ${3:paramDescription}$0"
"@arg {${1:type}} ${2:paranName} - ${3:paramDescription}$0"
],
"description": "Provides the name, type, and description of a function parameter. Synonysm of @param and @argument."
},
"argument": {
"prefix": "@argument",
"body": [
"@argument ${{1:type}} ${2:paranName} - ${3:paramDescription}$0"
"@argument {${1:type}} ${2:paranName} - ${3:paramDescription}$0"
],
"description": "Provides the name, type, and description of a function parameter. Synonysm of @param and @arg."
},
@ -462,7 +462,7 @@
"property": {
"prefix": "@property",
"body": [
"@property ${{1:type}} ${2:propertyName.something} - ${3:propertyDescription}$0"
"@property {${1:type}} ${2:propertyName.something} - ${3:propertyDescription}$0"
],
"description": "The @property tag is a way to easily document a list of static properties of a class, namespace or other object."
},
@ -602,7 +602,7 @@
"yields": {
"prefix": "@yields",
"body": [
"@yields ${{1:type}} ${2:description}$0"
"@yields {${1:type}} ${2:description}$0"
],
"description": "Document the value yielded by a generator function."
},