-
> 收集我遇到的有意思的前端类库
### 基础库
- https://github.com/taylorhakes/fecha 小巧的时间格式化库
- https://github.com/callmecavs/layzr.js 图片延迟加载
- https://github.com/5outh/nanoscope json数据转换
- http://highlandjs.org 类似 …
-
# 目录
-
The following errors were reported by 5.7.0-dev.20241013 vs 5.6.3
[Pipeline that generated this bug](https://typescript.visualstudio.com/TypeScript/_build?definitionId=48)
[Logs for the pipeline run](…
-
We need to decide how the software is going to run on the backend. A node backend seems fitting, but what library should we use to serve content? Express? We can discuss on this issue
-
用了一段时间的 ts ,发现 ts 中有很多很好用但是感觉很多人都没怎么去尝试的内置类型,这篇文章就来简单梳理一下我觉得挺好用的类型,然后又能衍生出哪些用法?
## Partial
ts 中的实现
```typescript
// node_modules/typescript/lib/lib.es5.d.ts
type Partial = {
[P in keyof T]?: T…
-
> bajigur@1.5.5 start
> node --env-file=.env .
node: bad option: --env-file=.env
-
Generally, peer dependency conflicts are quite common in projen projects. Projen itself and its batteries included approach, and the constructs package are very common culprits. This makes NPM as a …
-
## 背景
此前 egg 需要支持 ts,所以我们在 egg-bin 中集成了 ts-node ( 详见 [当 Egg 遇到 TypeScript,收获茶叶蛋一枚](https://zhuanlan.zhihu.com/p/35334932) ),从而能够让开发者直接跑用 ts 写的 egg 应用,当然也包括单元测试。
但是实际在跑单测的时候却发现,`power-assert`( [power…
-
- [ ] Mandatory publish mode for diagnostics. Either `textDocument/diagnostic` or `workspace/diagnostic` are not implemented yet.
- [ ] Locale setting only works for diagnostics and human messages fr…
-
## Outline
Nowadays, lots of famous JavaScript libraries like [`typeorm`](https://typeorm.io) or [`nestjs`](https://nestjs.com) are supporting the `decorator` feature. However, the `decorator` featur…