Skip to content

Commit e191622

Browse files
authored
Merge pull request #158 from pocke/typescript-class-not-head
Work `class` and `interface` snip after `export` in TypeScript
2 parents 2402f45 + 2cdaf29 commit e191622

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neosnippets/typescript.snip

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ options head
77

88
snippet class
99
abbr class NAME {...}
10-
options head
10+
options word
1111
class ${1:#:NAME} {
1212
constructor(${2:#:Args}) {
1313
${3:#:TARGET}
@@ -41,7 +41,7 @@ options head
4141

4242
snippet interface
4343
abbr interface NAME {...}
44-
options head
44+
options word
4545
interface ${1:#:NAME} {
4646
${0:#:TARGET}
4747
}

0 commit comments

Comments
 (0)