mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
28 lines
738 B
TypeScript
28 lines
738 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]: any;
|
|
}
|
|
|
|
interface Options {
|
|
extension?: string;
|
|
tags?: ReadonlyArray<string>;
|
|
}
|
|
}
|
|
|
|
declare function GulpMustache(view: GulpMustache.View,
|
|
options?: GulpMustache.Options,
|
|
partials?: GulpMustache.Hash): Transform;
|
|
|
|
export = GulpMustache;
|