mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-28 12:30:21 +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:
1 parent
af76bf4602
commit
8f6209f828
1 file changed
+4
Vendored
+4
@@ -47,3 +47,7 @@ interface MustacheStatic {
|
||||
}
|
||||
|
||||
declare var Mustache: MustacheStatic;
|
||||
|
||||
declare module 'mustache' {
|
||||
export = Mustache;
|
||||
}
|
||||
Reference in new issue
Block a user