Allow SVGElement as the first param for the constructor function. (#8789)

This commit is contained in:
jugglingthebits
2016-04-17 22:08:28 +09:00
committed by Masahiro Wakame
parent 0032c9b7e5
commit de8e80dfe5
+1 -1
View File
@@ -11,7 +11,7 @@ declare module "hammerjs" {
interface HammerStatic
{
new( element:HTMLElement, options?:any ): HammerManager;
new( element:HTMLElement | SVGElement, options?:any ): HammerManager;
defaults:HammerDefaults;