build: enhance tsconfig type check (#2732)

(cherry picked from commit b383ce36cd)
This commit is contained in:
Himself65
2023-06-09 01:42:58 +08:00
committed by Alex Yang
parent 5c87af6113
commit 9731dd3261
34 changed files with 111 additions and 68 deletions
@@ -43,6 +43,7 @@ export function useBlockSuiteWorkspaceAvatarUrl(
dispose.dispose();
};
}
return () => {};
}, [blockSuiteWorkspace]);
return [avatar ?? null, setAvatar] as const;
}