Jelajahi Sumber

biome-ignore noTsIgnore

Yuki Takei 2 bulan lalu
induk
melakukan
fd7e0ed27d

+ 2 - 1
apps/app/src/server/middlewares/access-token-parser/index.ts

@@ -12,7 +12,8 @@ const logger = loggerFactory('growi:middleware:access-token-parser');
 
 
 export type { AccessTokenParser, AccessTokenParserReq };
 export type { AccessTokenParser, AccessTokenParserReq };
 
 
-// @ts-expect-error - Scope type causes "Type instantiation is excessively deep" with tsgo
+// biome-ignore lint/suspicious/noTsIgnore: Suppress auto fix by lefthook
+// @ts-ignore - Scope type causes "Type instantiation is excessively deep" with tsgo
 export const accessTokenParser: AccessTokenParser = (scopes, opts) => {
 export const accessTokenParser: AccessTokenParser = (scopes, opts) => {
   return async (req, res, next): Promise<void> => {
   return async (req, res, next): Promise<void> => {
     if (scopes == null || scopes.length === 0) {
     if (scopes == null || scopes.length === 0) {