摘要: Sometime when you create a library, you want types create automatcially for you, instead of typing all the types information by yourself. // tsconfig. 阅读全文
posted @ 2020-10-09 01:24 Zhentiw 阅读(160) 评论(0) 推荐(0)
摘要: In lodash, you can use 'mixin' to create a new function on lodash object. import * as _ from 'lodash'; _.chunk([1, 2, 3, 4], 2); // [[1,2], [3,4]] _.m 阅读全文
posted @ 2020-10-09 01:19 Zhentiw 阅读(92) 评论(0) 推荐(0)