xgqfrms / vscode

:cn: :rocket: Visual Studio Code & VSCode Code Snippets All in One 🎉
https://vscode.xgqfrms.xyz
MIT License
3 stars 1 forks source link

vscode & TypeScript Template #31

Open xgqfrms opened 4 years ago

xgqfrms commented 4 years ago
{
    "TypeScript ES6 React Template": {
        "prefix": "ts6r",
        "body": [
            "\"use strict\";",
            "",
            "/**",
            " * ",
            " * @author xgqfrms",
            " * @license MIT",
            " * @copyright xgqfrms",
            " * @init 2019-11-20",
            " * @created 2020-02-2$1",
            " * @modified ",
            " * ",
            " * @description $2",
            " * @augments ",
            " * @example ",
            " * @link ",
            " * ",
            " */",
            "",
            "const log = console.log;",
            "",
            "// Generator",
            "const $3 = ($5datas = [], debug = false) => {",
            "    let result = ``;",
            "    // do something...",
            "    return $7result;",
            "};",
            "",
            "",
            "",
            "export default $3;",
            "",
            "export {",
            "    $3,",
            "};",
            "",
        ],
        "description": "TypeScript ES6 React Template & code snippets!"
    }
}