mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Rework the export-syntax of the mustache-typings
This commit is contained in:
Vendored
+2
-4
@@ -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;
|
||||
|
||||
Vendored
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user