Last active
February 23, 2025 11:41
-
-
Save gerwld/973fd1ed31e29493c0f3c5b20dd76587 to your computer and use it in GitHub Desktop.
Snippets for TS
This file contains hidden or 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
{ | |
// CMD Shift P > Snippets: Configure Snippets | |
"Add Module exports": { | |
"prefix": "me", | |
"body": ["module.exports = "], | |
"description": "Module exports" | |
}, | |
"1": { | |
"prefix": "impe", | |
"body": ["const express = require(\"express\");"], | |
"description": "" | |
}, | |
"2": { | |
"prefix": "path", | |
"body": ["const path = require(\"path\");"], | |
"description": "" | |
}, | |
"3": { | |
"prefix": "au", | |
"body": ["app.use($1)"], | |
"description": "" | |
}, | |
"4": { | |
"prefix": "r", | |
"body": ["require(\"$1\");"], | |
"description": "" | |
}, | |
"5": { | |
"prefix": "ra", | |
"body": ["const $1 = require(\"$1\");"], | |
"description": "" | |
}, | |
"6": { | |
"prefix": "impm", | |
"body": ["const mongoose = require(\"mongoose\");"], | |
"description": "" | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment