UNPKG

ltijs

Version:

Easily turn your web application into a LTI 1.3 Learning Tool.

12 lines (11 loc) • 420 B
import type { Response } from 'express'; import type { HttpResponse } from '#services/http-handler/http-handler.types'; export declare class ExpressHttpResponse implements HttpResponse { private readonly res; constructor(res: Response); status(code: number): HttpResponse; redirect(url: string): void; html(content: string): void; json(body: unknown): void; } export default ExpressHttpResponse;