I utilize quite a few snippets. Here are the ones I use most often with JS/TS:
"af" for arrow functions: () =>
"afb" arrow function body: () => { }
"desc" for jest describe block: describe('', () => { })
"it" for jest it block: it('', () => { })
"imp" for normal import
"imn" for import named
"ima" for import as
"c" for scaffolding a full class
"ctor" for a constructor
I utilize quite a few snippets. Here are the ones I use most often with JS/TS:
"af" for arrow functions:
() =>
"afb" arrow function body:
() => { }
"desc" for jest describe block:
describe('', () => { })
"it" for jest it block:
it('', () => { })
"imp" for normal import
"imn" for import named
"ima" for import as
"c" for scaffolding a full class
"ctor" for a constructor
For those using WebStorm or IntelliJ variants, here is a nice starter that I came across: github.com/blakedietz/js-live-temp...