Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

feat: fix

MingLiang Wang0b5cc1beda4f
diff --git a/packages/data-center/src/datacenter.ts b/packages/data-center/src/datacenter.ts
index 907b0e310a..ee320d75ec 100644
--- a/packages/data-center/src/datacenter.ts
+++ b/packages/data-center/src/datacenter.ts
@@ -81,7 +81,7 @@ export class DataCenter {
/**
* create new workspace , new workspace is a local workspace
* @param {string} name workspace name
- * @returns {Promise<WS>}
+ * @returns {Promise<Workspace>}
*/
public async createWorkspace(workspaceMeta: WorkspaceMeta) {
assert(