Skip to content

Commit 4b7c096

Browse files
committed
snippets for jsdoc
1 parent c0b5ded commit 4b7c096

File tree

2 files changed

+21
-8
lines changed

2 files changed

+21
-8
lines changed

snippets/typescript-snippets.cson

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
'.source.ts':
2+
'while':
3+
'prefix': 'while'
4+
'body': """
5+
while (${1:true}) {
6+
$2
7+
}
8+
"""
9+
'JSDoc single line':
10+
'prefix': '//'
11+
'body': """
12+
/** $1 */
13+
"""
14+
'JSDoc multi line':
15+
'prefix': '///'
16+
'body': """
17+
/**
18+
* $1
19+
*/
20+
"""
21+

snippets/typescript-snipptes.cson

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)