mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
mustache: declare mustache module
Modern mustache defines the 'mustache' module for use under both NPM
and bower. Define that here so we can use require('mustache') in
TypeScript without complaint.
This commit is contained in:
Vendored
+4
@@ -47,3 +47,7 @@ interface MustacheStatic {
|
||||
}
|
||||
|
||||
declare var Mustache: MustacheStatic;
|
||||
|
||||
declare module 'mustache' {
|
||||
export = Mustache;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user