Quellcode durchsuchen

rm unnecessary var

Shun Miyazawa vor 1 Jahr
Ursprung
Commit
f401be9108
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      apps/app/src/server/service/yjs-connection-manager.ts

+ 2 - 2
apps/app/src/server/service/yjs-connection-manager.ts

@@ -1,4 +1,4 @@
-import type { Server, Socket } from 'socket.io';
+import type { Server } from 'socket.io';
 import { MongodbPersistence } from 'y-mongodb-provider';
 import { YSocketIO } from 'y-socket.io/dist/server';
 import * as Y from 'yjs';
@@ -39,7 +39,7 @@ class YjsConnectionManager {
     return this.instance;
   }
 
-  public async handleYDocSync(pageId: string, initialValue: string, socket: Socket): Promise<void> {
+  public async handleYDocSync(pageId: string, initialValue: string): Promise<void> {
     const currentYdoc = this.getCurrentYdoc(pageId);
     if (currentYdoc == null) {
       return;