📜  vue 的 typescript - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:13.654000             🧑  作者: Mango

代码示例1
// tsconfig.json
{
  "compilerOptions": {
    // this aligns with Vue's browser support
    "target": "es5",
    // this enables stricter inference for data properties on `this`
    "strict": true,
    // if using webpack 2+ or rollup, to leverage tree shaking:
    "module": "es2015",
    "moduleResolution": "node"
  }
}