摘要:
Install Jest 1、install jest dependencies 2、jest.config.js 3、test jest foo.ts foo.test.ts Install Enzyme 1、install enzyme dependencies 2、configue enzym 阅读全文
摘要:
webstorm设置 settings >> TypeScript >> TSLint, 勾选 Enable ,选取 tslint包路径...npm\node_modules\tslint,这里webstorm基本会自动读取 配置tslint.json 阅读全文
摘要:
1、webpack.config.js 2、tsconfig.json 3、declare images.d.ts 4、webpack.config.js 5、import * as Img from "./path/to/image.png"; 阅读全文