mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-13 16:16:46 +08:00
@@ -6,7 +6,7 @@ import { Observable } from 'rxjs';
|
||||
function rpcToObservable<
|
||||
T,
|
||||
H extends () => Promise<T>,
|
||||
E extends (callback: (t: T) => void) => () => void
|
||||
E extends (callback: (t: T) => void) => () => void,
|
||||
>(
|
||||
initialValue: T,
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@ const tabIcons = {
|
||||
export type ShareMenuProps<
|
||||
Workspace extends AffineCloudWorkspace | LocalWorkspace =
|
||||
| AffineCloudWorkspace
|
||||
| LocalWorkspace
|
||||
| LocalWorkspace,
|
||||
> = {
|
||||
workspace: Workspace;
|
||||
currentPage: Page;
|
||||
|
||||
Reference in New Issue
Block a user