Skip to content

ControllerMiddlewares

@tsed/di

Usage

typescript
import { ControllerMiddlewares } from "@tsed/di";

See /packages/di/src/types/common/domain/ControllerProvider.ts.

Overview

ts
interface ControllerMiddlewares {
    useBefore: TokenProvider[];
    use: TokenProvider[];
    useAfter: TokenProvider[];
}

useBefore

ts
useBefore: TokenProvider[];

use

ts
use: TokenProvider[];

useAfter

ts
useAfter: TokenProvider[];

Released under the MIT License.