From 480f49d1a0fad30674520cb300beb68769d456d6 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Sat, 5 Aug 2017 13:51:43 +0300 Subject: 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 --- svg.js.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3