Skip to content

Commit

Permalink
jsdoc: fix double parens (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
elgiano authored Apr 29, 2024
1 parent 92864a9 commit d595a2e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions snippets/javascript/jsdoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
},
Expand All @@ -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."
},
Expand Down Expand Up @@ -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."
},
Expand Down

0 comments on commit d595a2e

Please sign in to comment.