1.3.0 • Published 2 months ago

@rhao/types-base v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@rhao/types-base

Typescript 常用的类型工具。

迁移至 v1.x

  • 移除 Builtin 类型
  • 移除 GetterMaybeGetter 类型,推荐使用 FnMaybeFn 替代
  • DeepReadonly => ReadonlyDeep
  • DeepPartial => PartialDeep
  • ElementOf 支持数组、对象获取元素类型,单一获取推荐 ArrayElementOfObjectElementOf
  • RecordElementOf => ObjectElementOf
  • Mutable => WritableMutableWith => WritableWithMutableWithout => WritableWithout
  • IfUnknownIfNeverIfEmpty 默认成功和失败值改为 truefalse
  • KeyOf 默认不再限于 string
  • 移除 PromiseResult 类型,推荐使用 Awaited 替代
1.3.0

2 months ago

1.2.0

2 months ago

1.1.0

2 months ago

1.0.0

3 months ago

0.7.0

5 months ago

0.5.0

5 months ago

0.6.0

5 months ago

0.4.0

5 months ago

0.3.0

6 months ago

0.2.1

7 months ago

0.2.0

9 months ago

0.1.3

9 months ago

0.1.2

9 months ago

0.1.1

9 months ago

0.1.0

9 months ago