UNPKG

gatsby

Version:
5 lines (4 loc) 336 B
import type { TrailingSlash } from "gatsby-page-utils"; import express from "express"; import type { IGatsbyState } from "../redux/types"; export declare const configureTrailingSlash: (getState: () => IGatsbyState, option: TrailingSlash | undefined) => (req: express.Request, res: express.Response, next: express.NextFunction) => void;