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

ignore "Type instantiation is excessively deep" with tsgo

Yuki Takei 2 месяцев назад
Родитель
Сommit
15bdb71282
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      apps/app/src/features/openai/server/routes/get-recent-threads.ts

+ 2 - 0
apps/app/src/features/openai/server/routes/get-recent-threads.ts

@@ -51,6 +51,8 @@ export const getRecentThreadsFactory = (crowi: Crowi): RequestHandler[] => {
   ];
 
   return [
+    // biome-ignore lint/suspicious/noTsIgnore: Suppress auto fix by lefthook
+    // @ts-ignore - Scope type causes "Type instantiation is excessively deep" with tsgo
     accessTokenParser([SCOPE.READ.FEATURES.AI_ASSISTANT], {
       acceptLegacy: true,
     }),