Rework the export-syntax of the mustache-typings

This commit is contained in:
Manuel Thalmann
2018-06-20 19:37:57 +02:00
parent a8e4d65b92
commit 54c77e47cb
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -243,7 +243,5 @@ declare class MustacheWriter {
* Provides the functionality to render templates with `{{mustaches}}`.
*/
declare var Mustache: MustacheStatic;
declare module "mustache" {
export = Mustache;
}
export = Mustache;
export as namespace Mustache;
+1 -1
View File
@@ -111,7 +111,7 @@ declare namespace NodeVault {
debug?(...args: any[]): any;
tv4?(...args: any[]): any;
commands?: Array<{ method: string, path: string, scheme: any }>;
mustache?: MustacheStatic;
mustache?: typeof mustache;
"request-promise"?: any;
Promise?: PromiseConstructor;