preiiter, eslint

This commit is contained in:
2025-07-18 17:48:12 +09:00
parent 036a220276
commit ffba4bdf09
154 changed files with 397 additions and 14485 deletions

View File

@@ -1,10 +1,14 @@
import { Strategy } from 'passport-jwt';
import { ConfigService } from '@nestjs/config';
declare const JwtStrategy_base: new (...args: any) => any;
import { JwtPayload } from 'src/common/interfaces/jwt-payload.interface';
declare const JwtStrategy_base: new (...args: [opt: import("passport-jwt").StrategyOptionsWithRequest] | [opt: import("passport-jwt").StrategyOptionsWithoutRequest]) => Strategy & {
validate(...args: any[]): unknown;
};
export declare class JwtStrategy extends JwtStrategy_base {
constructor(config: ConfigService);
validate(payload: any): Promise<{
userId: any;
username: any;
}>;
validate(payload: JwtPayload): {
userId: number;
username: string;
};
}
export {};