Created
April 8, 2019 17:30
-
-
Save timdeschryver/bad232582c01edd4aaffaee1ac9ccfc3 to your computer and use it in GitHub Desktop.
VSCode snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"NgRx Action": { | |
"scope": "typescript", | |
"prefix": "ca", | |
"description": "Creates an NgRx Action", | |
"body": ["export const ${1:action} = createAction('[${2:Source}] ${3:Event}');"] | |
}, | |
"NgRx Action with props": { | |
"scope": "typescript", | |
"prefix": "cap", | |
"description": "Creates an NgRx Action with props", | |
"body": ["export const ${1:action} = createAction('[${2:Source}] ${3:Event}', props<{${4:key}: ${5:type}}>());"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment