mirror of
https://github.com/rafamadriz/friendly-snippets
synced 2024-09-16 22:14:02 +02:00
jsdoc: fix double parens (#430)
This commit is contained in:
parent
92864a9edf
commit
d595a2e780
1 changed files with 5 additions and 5 deletions
|
@ -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."
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue