WARNING: experimental, partially completed
A pack of code snippets for React, Jest, GraphQL with Typescript.
ext install tgrstack.tgr-snippet-pack
Alternatively you can open the extensions panel and search for 'TGRStack snippet'.
- TypeScript (.ts)
- TypeScript React (.tsx)
Rather than using difficult to remember shortcuts, each snippet is available while writing a good name for it. Feel free to PR better naming schemas or Fork and make your own.
Snippets are in the ./snippets/
directory and I am using json5 to enable commenting.
The build script can be ran with npm run prepare
. It combines some of the files into /dist/
two files: typescript.json
and typescriptreact.json
.
- updated references to es9
- better naming
- compiled into a package of similarly written snippets
- no semicolons!
- INIT'd my TS & TS-REACT snippets with infeng/vscode-react-typescript
- Majority of Jest.json5 based on andys8/vscode-jest-snippets
MIT