diff --git a/types/mustache/index.d.ts b/types/mustache/index.d.ts index 45467c3940..2b0ab91cd0 100644 --- a/types/mustache/index.d.ts +++ b/types/mustache/index.d.ts @@ -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; diff --git a/types/node-vault/index.d.ts b/types/node-vault/index.d.ts index 835e364ae7..f21d625822 100644 --- a/types/node-vault/index.d.ts +++ b/types/node-vault/index.d.ts @@ -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;