mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 20:46:38 +08:00
@@ -124,7 +124,12 @@ export class Workbench extends Entity {
|
||||
}
|
||||
|
||||
openDoc(
|
||||
id: string | ({ docId: string } & ReferenceParams),
|
||||
id:
|
||||
| string
|
||||
| ({ docId: string } & (
|
||||
| ReferenceParams
|
||||
| Record<string, string | undefined>
|
||||
)),
|
||||
options?: WorkbenchOpenOptions
|
||||
) {
|
||||
const isString = typeof id === 'string';
|
||||
|
||||
Reference in New Issue
Block a user