typescript demo 全局安装 typescript npm install -g typescript 运行 如没有build过,执行 npm run build npm run dev 已经build, 执行 npm run tsc-w npm run dev