소스 검색

add @ts-ignore

Yuki Takei 1 년 전
부모
커밋
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