From a8e4d65b92d55eedc32b76fbd9b4eeeaf9158b3f Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 20 Jun 2018 08:15:31 +0200 Subject: [PATCH] Declare a module instead of a namespace --- types/mustache/index.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/types/mustache/index.d.ts b/types/mustache/index.d.ts index 49a16ca35b..45467c3940 100644 --- a/types/mustache/index.d.ts +++ b/types/mustache/index.d.ts @@ -243,5 +243,7 @@ declare class MustacheWriter { * Provides the functionality to render templates with `{{mustaches}}`. */ declare var Mustache: MustacheStatic; -export = Mustache; -export as namespace Mustache; \ No newline at end of file + +declare module "mustache" { + export = Mustache; +}