Merge pull request #3569 from codler/patch-1

Hammerjs: Allow to use as module
This commit is contained in:
Masahiro Wakame
2015-02-03 11:55:32 +09:00
+5 -1
View File
@@ -1,10 +1,14 @@
// Type definitions for Hammer.js 2.0.4
// Project: http://hammerjs.github.io/
// Definitions by: Philip Bulley <https://github.com/milkisevil/>
// Definitions by: Philip Bulley <https://github.com/milkisevil/>, Han Lin Yap <https://github.com/codler>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare var Hammer:HammerStatic;
declare module "Hammer" {
export = Hammer;
}
interface HammerStatic
{
new( element:HTMLElement, options?:any ): HammerManager;