Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyzhong committed Jun 25, 2024
1 parent 707138b commit 39a8103
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/helux/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,7 @@ export const useShared: typeof useSharedObject;
* @param isStable - 是否返回稳定对象
* @returns
*/
export function useObject<T extends Dict = Dict>(
initialState: T | (() => T),
isStable?: boolean,
): [T, (partialState: Partial<T>) => void];
export function useObject<T extends Dict = Dict>(initialState: T | (() => T), isStable?: boolean): [T, (partialState: Partial<T>) => void];

/**
* 使用服务注入模式开发 react 组件,可配和`useObject`和`useSharedObject`同时使用,详细使用方式见在线示例:
Expand Down

0 comments on commit 39a8103

Please sign in to comment.