Allow to use with commonjs (#11775)

This commit is contained in:
Rogier Schouten
2016-10-06 09:56:44 -07:00
committed by Mohamed Hegazy
parent 428195bee2
commit e3b20d93a9
+3
View File
@@ -18,3 +18,6 @@ declare class MobileDetect {
version(value: string): number;
versionStr(value: string): string;
}
export = MobileDetect;
export as namespace MobileDetect;