diff --git a/snippets/snippets-ts.json b/snippets/snippets-ts.json index 624525a..eaf1bb5 100644 --- a/snippets/snippets-ts.json +++ b/snippets/snippets-ts.json @@ -21,9 +21,10 @@ "", "const ${1:${TM_DIRECTORY/^.*(\\/|\\\\)([^(\\/|\\\\)]+)$/$2/}}: React.FC = () => {", " return
;", - "}", + "};", "", - "export default ${1:${TM_DIRECTORY/^.*(\\/|\\\\)([^(\\/|\\\\)]+)$/$2/}};" + "export default ${1:${TM_DIRECTORY/^.*(\\/|\\\\)([^(\\/|\\\\)]+)$/$2/}};", + "" ], "description": "Create ReactJS Functional Component Typescript" } diff --git a/snippets/snippets.json b/snippets/snippets.json index f305d09..e2558e6 100644 --- a/snippets/snippets.json +++ b/snippets/snippets.json @@ -21,9 +21,10 @@ "", "function ${1:${TM_DIRECTORY/^.*(\\/|\\\\)([^(\\/|\\\\)]+)$/$2/}}() {", " return
;", - "}", + "};", "", - "export default ${1:${TM_DIRECTORY/^.*(\\/|\\\\)([^(\\/|\\\\)]+)$/$2/}};" + "export default ${1:${TM_DIRECTORY/^.*(\\/|\\\\)([^(\\/|\\\\)]+)$/$2/}};", + "" ], "description": "Create ReactJS Functional Component Typescript" }