Bläddra i källkod

add @ts-ignore

Yuki Takei 1 år sedan
förälder
incheckning
930ff20275
1 ändrade filer med 3 tillägg och 0 borttagningar
  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.ysocketio = ysocketio;
 
 
     this.mdb = new MongodbPersistence(
     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'
         // TODO: Required upgrading mongoose and unifying the versions of mongodb to omit 'as any'
         // eslint-disable-next-line @typescript-eslint/no-explicit-any
         // eslint-disable-next-line @typescript-eslint/no-explicit-any