backend-plugin-api: fix HttpAuthService Request type parameters

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-02-15 19:47:48 +01:00
parent 413a9e7de8
commit f52a439239
2 changed files with 2 additions and 2 deletions
@@ -20,7 +20,7 @@ import { BackstageCredentials, BackstagePrincipalTypes } from './AuthService';
/** @public */
export interface HttpAuthService {
credentials<TAllowed extends keyof BackstagePrincipalTypes = 'unknown'>(
req: Request,
req: Request<any, any, any, any, any>,
options?: {
allow?: Array<TAllowed>;
allowedAuthMethods?: Array<'token' | 'cookie'>;