gatsby
Version:
Blazing fast modern site generator for React
5 lines (4 loc) • 336 B
TypeScript
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;