@types/connect-history-api-fallback
- Version 1.5.4
- Published
- 4.86 kB
- 2 dependencies
- MIT license
Install
npm i @types/connect-history-api-fallback
yarn add @types/connect-history-api-fallback
pnpm add @types/connect-history-api-fallback
Overview
TypeScript definitions for connect-history-api-fallback
Index
Functions
function historyApiFallback
historyApiFallback: ( options?: historyApiFallback.Options) => core.RequestHandler;
Interfaces
interface Context
interface Context {}
interface Options
interface Options {}
property disableDotRule
readonly disableDotRule?: true | undefined;
property htmlAcceptHeaders
readonly htmlAcceptHeaders?: readonly string[] | undefined;
property index
readonly index?: string | undefined;
property logger
readonly logger?: typeof console.log | undefined;
property rewrites
readonly rewrites?: readonly Rewrite[] | undefined;
property verbose
readonly verbose?: boolean | undefined;
Type Aliases
type RewriteTo
type RewriteTo = (context: Context) => string;
Package Files (1)
Dependencies (2)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/connect-history-api-fallback
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/connect-history-api-fallback)
- HTML<a href="https://www.jsdocs.io/package/@types/connect-history-api-fallback"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3383 ms. - Missing or incorrect documentation? Open an issue for this package.