MuYunyun
MuYunyun
typescript version: 4.3.5 hi, it seems there is wrong with CurryV5 if using as follow: ```diff - const toCurry09 = (name: string, age: number, single: boolean, ...nicknames: string[]) => true...
# TypeScript extends 精读与实践 在大多数程序中,我们必须根据输入做出决策。TypeScript 也不例外,使用条件类型可以描述输入类型与输出类型之间的关系。 ## 用于条件判断时的 extends 当 extends 表示条件判断时,可以总结出以下规律 1. 若位于 extends 两侧的类型相同,则 extends 在语义上可理解为 `===`,可以参考如下例子: ```ts type result1 = 'a' extends 'abc' ? true : false...
搭建树莓派网盘
1. smb 服务: https://www.v2fy.com/p/2021-10-03-pi-smb-1633231650000/ 2. nas: https://github.com/alanhg/alfred-workflows/discussions/248
- [ ] [codesandbox-node](https://github.com/CompuIves/codesandbox-client/issues/1091#issuecomment-478377808)
在 document 上使用事件委托,好处如下: * 添加时机不受限(在 dom 任何生命周期的里都可添加) * 添加事件更快 * 内存消耗也更小 * 减少事件的垃圾回收(如果绑定在低层级的标签上,标签内容消失时,还需要手动执行清空事件内存) 目前的计划是将 JSX 里如果有事件元素(计划支持 click、mousedown、mouseup、keydown、keyup),则在这个标签上打上一个标记(或者在内存中存份数据),冒泡到 document 的时候和这个标记进行比对。
在该 issue 中,将开启此项目的测试之旅。

### What is the current behavior? current build is to build typescript file to javascript in dist, then convert dist into lib or es file. ### What is the expected...
### What is the current behavior?  It seems strange with `import n from "tslib"` in lib/diana.js,it maybe cause some bug. If the current behavior is a bug, please provide...
expect some useful typescript function from [type-challenges](https://github.com/type-challenges/type-challenges) like [ts-toolbelt](https://github.com/millsp/ts-toolbelt)、[utility-types](https://github.com/piotrwitek/utility-types)、[https://github.com/andnp/SimplyTyped](SimplyTyped) 。