tcc-type-challenge
v1.0.0
Published
配合 type-challenge 搭建本地环境
Downloads
9
Readme
配合 type-challenge 搭建本地环境
为什么
本地环境运行 type-challenge 需要创建文件加然后新添加俩个文件
- template.ts
- test-cases.ts
没错,创建目录然后创建俩个文件的时间也不想有
使用
npm i tcc-type-challenge
生成文件,以 type-challenge 第一个 easy-pick 为例
tcc easy-pick
然后你需要手都把test-cases.ts
的内容复制到本地的test-cases.ts
,因为每个测试样例都不同,然后就可以开始愉快的开始答题了。