Skip to content

PlatformMiddlewareLoadingOptions

@tsed/platform-middlewares

Usage

typescript
import { PlatformMiddlewareLoadingOptions } from "@tsed/platform/platform-middlewares/src/types/domain/PlatformMiddlewareSettings";

See /packages/platform/platform-middlewares/src/types/domain/PlatformMiddlewareSettings.ts.

Overview

ts
type PlatformMiddlewareLoadingOptions = {
    env?: Env;
    use: Function | Type<any> | string;
    hook?: string;
    options?: any;
};

env

ts
env?: Env;

use

ts
use: Function | Type<any> | string;

hook

ts
hook?: string;

options

ts
options?: any;

Released under the MIT License.