跳转到内容

IoBehavior

当你需要复用类型结构时使用此类型别名。

IoBehavior<T>
import type { IoBehavior } from '@iostore/store/behavior';
let value!: IoBehavior;
console.log(value);
  • 避免在用户文档中展开过于复杂的类型细节。
  • 调整类型别名时注意下游兼容性。
  • packages/io/src/lib/extensions/types.ts