Skip to content

Instantly share code, notes, and snippets.

@jmaicaaan
Last active November 28, 2020 15:53
Show Gist options
  • Select an option

  • Save jmaicaaan/073d1d5f039f5cbb732c15d1ed59fbe0 to your computer and use it in GitHub Desktop.

Select an option

Save jmaicaaan/073d1d5f039f5cbb732c15d1ed59fbe0 to your computer and use it in GitHub Desktop.
"Named function with typings": {
"prefix": "ts#function",
"body": [
"export type $1Params = {};",
"function $1(params: $1Params) {",
" $2",
"}"
],
"description": "Create a named function with typings"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment