aboutsummaryrefslogtreecommitdiffstats
path: root/svg.js.d.ts
diff options
context:
space:
mode:
authorDmitry <d.luzanov1996@mail.ru>2017-08-05 13:51:43 +0300
committerGitHub <noreply@github.com>2017-08-05 13:51:43 +0300
commit480f49d1a0fad30674520cb300beb68769d456d6 (patch)
tree57f9688fdd4696eb799a6860c9616ffa270348d1 /svg.js.d.ts
parent5b5b98ac54423e4be6ad196cc3fc5a4760bdbcf3 (diff)
downloadsvg.js-480f49d1a0fad30674520cb300beb68769d456d6.tar.gz
svg.js-480f49d1a0fad30674520cb300beb68769d456d6.zip
Update svgjs.d.ts
Fix: Another way is to point an external SVG file, just specified the element id and path to file. http://svgjs.com/elements/#use-constructor
Diffstat (limited to 'svg.js.d.ts')
-rw-r--r--svg.js.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts
index f87f831..3456d8d 100644
--- a/svg.js.d.ts
+++ b/svg.js.d.ts
@@ -945,7 +945,7 @@ declare namespace svgjs {
element(element: Element, file?: string): this;
}
interface Container {
- use(element: Element, file?: string): Use;
+ use(element: Element | string, file?: string): Use;
}
interface Library { Use: Use; }