Loading

随笔分类 -  typescript

摘要:传送 阅读全文
posted @ 2022-05-17 17:32 myEsn2E9 阅读(123) 评论(0) 推荐(0)
摘要:当前 Node.js 版本:v16.14.0 当前 TypeScript 版本:^4.6.3 步骤 安装必要的依赖 yarn add -D typescript ts-node @tsconfig/node16 @types/node nodemon package.json 修改 { ..., " 阅读全文
posted @ 2022-04-13 10:07 myEsn2E9 阅读(191) 评论(0) 推荐(0)
摘要:ESLint 安装 yarn add -D eslint 生成配置文件 yarn eslint --init cli 选项 How would you like to use ESLint? To check syntax and find problems What type of modules 阅读全文
posted @ 2021-12-29 09:48 myEsn2E9 阅读(371) 评论(0) 推荐(0)
摘要:版本说明 Node.js: 16.13.1 全局安装 TypeScript yarn global add typescript 创建项目 创建如下目录结构 project ├── src │ └── server.ts ├── package.json └── tsconfig.json pack 阅读全文
posted @ 2021-12-28 10:49 myEsn2E9 阅读(234) 评论(0) 推荐(0)