UNPKG

manifest

Version:

The backend for AI code editors

8 lines (7 loc) 311 B
import { CanActivate, ExecutionContext } from '@nestjs/common'; import { AuthService } from '../auth.service'; export declare class IsAdminGuard implements CanActivate { private readonly authService; constructor(authService: AuthService); canActivate(context: ExecutionContext): Promise<boolean>; }