mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Merge pull request #3569 from codler/patch-1
Hammerjs: Allow to use as module
This commit is contained in:
Vendored
+5
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user