Yuki Takei 1 год назад
Родитель
Сommit
930ff20275
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      apps/app/src/server/service/yjs.ts

+ 3 - 0
apps/app/src/server/service/yjs.ts

@@ -45,6 +45,9 @@ class YjsService implements IYjsService {
     this.ysocketio = ysocketio;
 
     this.mdb = new MongodbPersistence(
+      // ignore TS2345: Argument of type '{ client: any; db: any; }' is not assignable to parameter of type 'string'.
+      // eslint-disable-next-line @typescript-eslint/ban-ts-comment
+      // @ts-ignore
       {
         // TODO: Required upgrading mongoose and unifying the versions of mongodb to omit 'as any'
         // eslint-disable-next-line @typescript-eslint/no-explicit-any