IoTreeScope
当你需要复用类型结构时使用此类型别名。
IoTreeScope<T, MaxDepth>import type { IoTreeScope } from '@iostore/store';
let value!: IoTreeScope;console.log(value);- 避免在用户文档中展开过于复杂的类型细节。
- 调整类型别名时注意下游兼容性。
相关 API
Section titled “相关 API”packages/io/src/lib/utils/types/types.ts