summaryrefslogtreecommitdiffstats
path: root/svg.js.d.ts
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2020-06-13 19:32:23 +1000
committerGitHub <noreply@github.com>2020-06-13 19:32:23 +1000
commitec1a37312f3f555033c377d9e7c52f2570f2ae27 (patch)
tree63093d7836586695e2d4aaa43d761f2647eca9f5 /svg.js.d.ts
parenteb3bd6c456fa1bd4ff5d38569b2851356042191d (diff)
downloadsvg.js-ec1a37312f3f555033c377d9e7c52f2570f2ae27.tar.gz
svg.js-ec1a37312f3f555033c377d9e7c52f2570f2ae27.zip
Update svg.js.d.ts
Implementing ElementAlias doesnt work because method definitions clash
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 5edfdfb..f826335 100644
--- a/svg.js.d.ts
+++ b/svg.js.d.ts
@@ -558,7 +558,7 @@ declare module "@svgdotjs/svg.js" {
type ListEachCallback<T> = (el: T, index: number, list: List<T>) => any
// List.js
- class List<T> extends BuiltInArray<T> implements ElementAlias {
+ class List<T> extends BuiltInArray<T> {
each(fn: ListEachCallback<T>): List<any>
each(name: string, ...args: any[]): List<any>
toArray(): T[]