摘要:
A literal type is a type that represents exactly one value, e.g. one specific string or number. You can combine literal types with union types to mode 阅读全文
posted @ 2018-09-19 18:11
Zhentiw
阅读(204)
评论(0)
推荐(0)
摘要:
Unit testing functions that invoke callbacks can require a lot of setup code. Using sinon.spy to create a fake callback function can simplify your uni 阅读全文
posted @ 2018-09-19 02:54
Zhentiw
阅读(173)
评论(0)
推荐(0)
摘要:
Historically, the npm init command was solely use to create a new package.json file. However, as of npm version 6.1, you can now use a new feature of 阅读全文
posted @ 2018-09-19 02:37
Zhentiw
阅读(395)
评论(0)
推荐(0)

浙公网安备 33010602011771号