Skip to content

KoaCtx

@tsed/platform-koa

Usage

typescript
import { KoaCtx } from "@tsed/platform-koa";

See /packages/platform/platform-koa/src/types/decorators/ctx.ts.

Overview

ts
function KoaCtx(): ParameterDecorator;

export function Ctx(): ParameterDecorator;
export type Ctx = Context;
export type KoaCtx = Context;

Description

Return the original Koa context.

Released under the MIT License.