mirror of
https://github.com/zadam/trilium.git
synced 2026-03-04 09:36:10 +01:00
9 lines
306 B
TypeScript
9 lines
306 B
TypeScript
import type { Request } from "express";
|
|
import type { Content } from "./Content.js";
|
|
import type { ParamsDictionary } from "express-serve-static-core";
|
|
|
|
/**
|
|
* @type {function (Request): Promise<Content>}
|
|
*/
|
|
export type ContentProvider<P extends ParamsDictionary> = (req: Request<P>) => Promise<Content>;
|