/
githubmirror
/
nest
Обзор
Документация
Войти
/
githubmirror
/
nest
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
packages/common/interfaces/features/execution-context.interface.ts
21 строка
601 B
John Biundo
feat(common): Add documentation for public API
26 авг 2019, 23:18
Не верифицирован
26 авг 2019, 23:18
10c9d66
Код
Авторство
О чём код?
import { Type } from '../index'; import { ArgumentsHost } from './arguments-host.interface'; /** * Interface describing details about the current request pipeline. * * @see [Execution Context](https://docs.nestjs.com/guards#execution-context) * * @publicApi */ export interface ExecutionContext extends ArgumentsHost { /** * Returns the *type* of the controller class which the current handler belongs to. */ getClass<T = any>(): Type<T>; /** * Returns a reference to the handler (method) that will be invoked next in the * request pipeline. */ getHandler(): Function; }