aboutsummaryrefslogtreecommitdiff
path: root/snippets/typescript/function.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/typescript/function.tsx')
-rw-r--r--snippets/typescript/function.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/snippets/typescript/function.tsx b/snippets/typescript/function.tsx
new file mode 100644
index 0000000..ac1b290
--- /dev/null
+++ b/snippets/typescript/function.tsx
@@ -0,0 +1,3 @@
+const $1 = ($2) => {
+ $3
+};