From ec1a37312f3f555033c377d9e7c52f2570f2ae27 Mon Sep 17 00:00:00 2001 From: Ulrich-Matthias Schäfer Date: Sat, 13 Jun 2020 19:32:23 +1000 Subject: Update svg.js.d.ts Implementing ElementAlias doesnt work because method definitions clash --- svg.js.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svg.js.d.ts') diff --git a/svg.js.d.ts b/svg.js.d.ts index 5edfdfb..f826335 100644 --- a/svg.js.d.ts +++ b/svg.js.d.ts @@ -558,7 +558,7 @@ declare module "@svgdotjs/svg.js" { type ListEachCallback = (el: T, index: number, list: List) => any // List.js - class List extends BuiltInArray implements ElementAlias { + class List extends BuiltInArray { each(fn: ListEachCallback): List each(name: string, ...args: any[]): List toArray(): T[] -- cgit v1.2.3