Răsfoiți Sursa

ignore "Type instantiation is excessively deep" with tsgo

Yuki Takei 3 luni în urmă
părinte
comite
15bdb71282

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

@@ -51,6 +51,8 @@ export const getRecentThreadsFactory = (crowi: Crowi): RequestHandler[] => {
   ];
   ];
 
 
   return [
   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], {
     accessTokenParser([SCOPE.READ.FEATURES.AI_ASSISTANT], {
       acceptLegacy: true,
       acceptLegacy: true,
     }),
     }),