Files
2017-10-23 07:33:34 -07:00

28 lines
741 B
TypeScript

// Type definitions for gulp-mustache v 3.0
// Project: https://github.com/rogeriopvl/gulp-mustache
// Definitions by: Christopher Durham <cad97@cad97.com>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
import { Transform } from "stream";
declare namespace GulpMustache {
type View = Hash | string | undefined;
interface Hash {
[key: string]: string;
}
interface Options {
extension?: string;
tags?: ReadonlyArray<string>;
}
}
declare function GulpMustache(view: GulpMustache.View,
options?: GulpMustache.Options,
partials?: GulpMustache.Hash): Transform;
export = GulpMustache;