summaryrefslogtreecommitdiffstats
path: root/svg.js.d.ts
diff options
context:
space:
mode:
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