aboutsummaryrefslogtreecommitdiffstats
path: root/svg.js.d.ts
diff options
context:
space:
mode:
authorDaniel Gräber <info@alboh.de>2017-01-06 13:54:14 +0100
committerdotnetCarpenter <jon.ronnenberg@gmail.com>2017-01-14 05:49:19 +0100
commit1ba125fec2c376b5790051f4181bd5ba86fb5a22 (patch)
treedde177950c6899c541884d4441aa1a32c8f6ae98 /svg.js.d.ts
parentea3fa93c2edd29001820c8faf9014e84bb57a6c2 (diff)
downloadsvg.js-1ba125fec2c376b5790051f4181bd5ba86fb5a22.tar.gz
svg.js-1ba125fec2c376b5790051f4181bd5ba86fb5a22.zip
fix(typing): Export for umd module
Diffstat (limited to 'svg.js.d.ts')
-rw-r--r--svg.js.d.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts
index 4d2708d..9e2084f 100644
--- a/svg.js.d.ts
+++ b/svg.js.d.ts
@@ -1,3 +1,8 @@
+export = svgjs;
+export as namespace svgjs;
+
+declare var svgjs: svgjs.Library;
+
// todo add SVG.FX
declare namespace svgjs {
export interface Library {
@@ -886,9 +891,4 @@ declare namespace svgjs {
// TODO style, etc, bbox...
}
-}
-
-declare var SVG: svgjs.Library;
-declare module "svg.js" {
- export default SVG;
-}
+} \ No newline at end of file