1.2.5 • Published 6 months ago
@types/mustache-express v1.2.5
Installation
npm install --save @types/mustache-express
Summary
This package contains type definitions for mustache-express (https://github.com/bryanburgers/node-mustache-express#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mustache-express.
index.d.ts
// Type definitions for mustache-express 1.2
// Project: https://github.com/bryanburgers/node-mustache-express#readme
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import { Cache } from 'lru-cache';
export = mustacheExpress;
declare function mustacheExpress(
partialsPath?: string,
partialsExt?: string
): mustacheExpress.ExpessEngine;
declare namespace mustacheExpress {
interface ExpessEngine {
(path: string, options: any, cb: (...args: any[]) => any): any;
cache: TemplateCache;
}
type TemplateCache = Cache<string, { name: string; data: string; partials: string[] }>;
}
Additional Details
- Last updated: Thu, 12 May 2022 19:01:46 GMT
- Dependencies: @types/lru-cache
- Global values: none
Credits
These definitions were written by BendingBender.