2024-04-25 今日 Google 的知识点

43 阅读1分钟

tsx 解析 ts

The easiest way to run TypeScript in Node.js

tsx watch ./src/index.ts

debug Node ts 项目

和直接运行命令行一样

{
  "version": "0.2.0",
  "configurations": [
    {
      "command": "npm start",
      "name": "Run npm start",
      "request": "launch",
      "type": "node-terminal"
    }
  ]
}