Skip to content

Commit d595a2e

Browse files
authored
jsdoc: fix double parens (rafamadriz#430)
1 parent 92864a9 commit d595a2e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

snippets/javascript/jsdoc.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -434,21 +434,21 @@
434434
"param": {
435435
"prefix": "@param",
436436
"body": [
437-
"@param ${{1:type}} ${2:paranName} - ${3:paramDescription}$0"
437+
"@param {${1:type}} ${2:paranName} - ${3:paramDescription}$0"
438438
],
439439
"description": "Provides the name, type, and description of a function parameter. Synonysm of @arg and @argument."
440440
},
441441
"arg": {
442442
"prefix": "@arg",
443443
"body": [
444-
"@arg ${{1:type}} ${2:paranName} - ${3:paramDescription}$0"
444+
"@arg {${1:type}} ${2:paranName} - ${3:paramDescription}$0"
445445
],
446446
"description": "Provides the name, type, and description of a function parameter. Synonysm of @param and @argument."
447447
},
448448
"argument": {
449449
"prefix": "@argument",
450450
"body": [
451-
"@argument ${{1:type}} ${2:paranName} - ${3:paramDescription}$0"
451+
"@argument {${1:type}} ${2:paranName} - ${3:paramDescription}$0"
452452
],
453453
"description": "Provides the name, type, and description of a function parameter. Synonysm of @param and @arg."
454454
},
@@ -462,7 +462,7 @@
462462
"property": {
463463
"prefix": "@property",
464464
"body": [
465-
"@property ${{1:type}} ${2:propertyName.something} - ${3:propertyDescription}$0"
465+
"@property {${1:type}} ${2:propertyName.something} - ${3:propertyDescription}$0"
466466
],
467467
"description": "The @property tag is a way to easily document a list of static properties of a class, namespace or other object."
468468
},
@@ -602,7 +602,7 @@
602602
"yields": {
603603
"prefix": "@yields",
604604
"body": [
605-
"@yields ${{1:type}} ${2:description}$0"
605+
"@yields {${1:type}} ${2:description}$0"
606606
],
607607
"description": "Document the value yielded by a generator function."
608608
},

0 commit comments

Comments
 (0)