7 lines
207 B
TypeScript
Raw Normal View History

import type { Request } from "express";
import type { Content } from "./Content.js";
2025-04-03 23:27:32 +02:00
/**
* @type {function (Request): Promise<Content>}
*/
export type ContentProvider = (req: Request) => Promise<Content>;