Skip to content

Instantly share code, notes, and snippets.

@quanghm27
Forked from danielkellyio/typescript.json
Created October 3, 2022 02:08
Show Gist options
  • Save quanghm27/d77eb68bc66dc491d6021c628b1246d2 to your computer and use it in GitHub Desktop.
Save quanghm27/d77eb68bc66dc491d6021c628b1246d2 to your computer and use it in GitHub Desktop.

Revisions

  1. @danielkellyio danielkellyio created this gist Mar 9, 2022.
    11 changes: 11 additions & 0 deletions typescript.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    {
    "Vue defineEmits":{
    "prefix": "defineEmits",
    "body" : [
    "defineEmits<{",
    " (e: \"${1:event}\", ${2:payload}: { $3 }): void;",
    "}>();",
    ],
    "description": "defineEmits type declaration for Vue.js components"
    },
    }