diff options
Diffstat (limited to 'template/typescript/snip-switch.ts')
-rw-r--r-- | template/typescript/snip-switch.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/template/typescript/snip-switch.ts b/template/typescript/snip-switch.ts new file mode 100644 index 0000000..625208e --- /dev/null +++ b/template/typescript/snip-switch.ts @@ -0,0 +1,8 @@ +switch ({{_input_:key}}) { + case {{_input_:value}}: + {{_cursor_}} + break; + + default: + break; +} |