From: Ulrich-Matthias Schäfer Date: Sat, 13 Jun 2020 09:32:23 +0000 (+1000) Subject: Update svg.js.d.ts X-Git-Tag: 3.1.0~17 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ec1a37312f3f555033c377d9e7c52f2570f2ae27;p=svg.js.git Update svg.js.d.ts Implementing ElementAlias doesnt work because method definitions clash --- 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[]