摘要:
https://www.typescriptlang.org/docs/handbook/modules.html#ambient-modules Example for declare node.js "url" & "path" module: node.d.ts declare module 阅读全文
posted @ 2022-10-25 15:01
Zhentiw
阅读(564)
评论(0)
推荐(0)
摘要:
https://www.typescriptlang.org/docs/handbook/modules.html#export--and-import--require When you export using `export = ` let numberRegexp = /^[0-9]+$/; 阅读全文
posted @ 2022-10-25 14:36
Zhentiw
阅读(119)
评论(0)
推荐(0)
摘要:
Do you know lodash? Chunk is a very useful function in it, now let's implement it. Chunk<T, N> accepts two required type parameters, the T must be a t 阅读全文
posted @ 2022-10-25 03:20
Zhentiw
阅读(25)
评论(0)
推荐(0)
摘要:
You might have some changes locally for 3rd party library. For the local implementation, you need to modify the types in order to resolve IDE issue. W 阅读全文
posted @ 2022-10-25 00:09
Zhentiw
阅读(31)
评论(0)
推荐(0)

浙公网安备 33010602011771号