会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
逍遥汉
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
9
10
···
65
下一页
2023年5月9日
ts中(Exclude,Extract,Omit,Pick)
摘要: interface UserInfo { username: string password: string gender: number } type People = Pick<UserInfo, 'username'> type Tome = Omit<UserInfo, 'gender'>
阅读全文
posted @ 2023-05-09 10:31 unfetteredman
阅读(133)
评论(0)
推荐(0)
2023年4月27日
git 配置commit-msg
摘要: git 配置commit-msg # 安装husky npm install husky -D # 设置运行脚本并运行 npm set-script prepare "husky install" npm run prepare # 安装commitlint 根据操作系统选一种 # Install
阅读全文
posted @ 2023-04-27 12:56 unfetteredman
阅读(396)
评论(0)
推荐(0)
配置.husky和commitlint以及Eslint
摘要: 代码规范 ESLint + Prettier(项目是基于uniapp+vue3+ts) 无脑执行以下操作,让你在vue3+ts的项目中愉快的使用 eslint 和 prettier。 npm install eslint prettier --save-dev npm install eslint-
阅读全文
posted @ 2023-04-27 12:45 unfetteredman
阅读(680)
评论(1)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
65
下一页