Просмотр исходного кода

remove unnecessary ignore comment

Futa Arai 4 месяцев назад
Родитель
Сommit
9306b8d281
1 измененных файлов с 0 добавлено и 3 удалено
  1. 0 3
      apps/app/src/server/service/yjs/yjs.ts

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

@@ -45,9 +45,6 @@ class YjsService implements IYjsService {
 
   constructor(io: Server) {
     const 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-expect-error
       {
         // TODO: Required upgrading mongoose and unifying the versions of mongodb to omit 'as any'
         // eslint-disable-next-line @typescript-eslint/no-explicit-any