Skip to content

Instantly share code, notes, and snippets.

@SirPhemmiey
Created February 7, 2021 09:11
Show Gist options
  • Save SirPhemmiey/f02786a5754dd6ab5e8b3752535e75cc to your computer and use it in GitHub Desktop.
Save SirPhemmiey/f02786a5754dd6ab5e8b3752535e75cc to your computer and use it in GitHub Desktop.
Typescript.json
{
"Log info": {
"prefix": ["loginfo", "logger"],
"body": ["getLogger().info(${1:info})"],
"description": "Log info"
},
"Log error": {
"prefix": ["logerror"],
"body": ["getLogger().error(${1:error})"],
"description": "Log error"
},
"Log trace": {
"prefix": ["logerror"],
"body": ["getLogger().trace(${1:trace})"],
"description": "Log trace"
},
"Interface": {
"prefix": ["interface", "int"],
"description": "Just simple snippet for an interface",
"body": ["export interface ${2:InterfaceName} {", "\t${1}", "}"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment