Explorar el Código

ignore "Type instantiation is excessively deep" with tsgo

Yuki Takei hace 2 meses
padre
commit
47f1998de7

+ 2 - 0
apps/app/src/features/growi-plugin/server/routes/apiv3/admin/index.ts

@@ -37,6 +37,8 @@ module.exports = (crowi: Crowi): Router => {
 
   router.get(
     '/',
+    // 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.ADMIN.PLUGIN]),
     loginRequiredStrictly,
     adminRequired,