From: flynn.park Date: Wed, 21 Feb 2018 18:04:52 +0000 (+0900) Subject: Fix typings for memory.js remember method order X-Git-Tag: 2.6.5~15^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F817%2Fhead;p=svg.js.git Fix typings for memory.js remember method order https://www.typescriptlang.org/docs/handbook/declaration-merging.html --- diff --git a/svg.js.d.ts b/svg.js.d.ts index bfa056d..ea2bee6 100644 --- a/svg.js.d.ts +++ b/svg.js.d.ts @@ -554,8 +554,8 @@ declare namespace svgjs { // memory.js interface Element { remember(name: string, value: any): this; - remember(obj: Object): this; remember(name: string): any; + remember(obj: Object): this; forget(...keys: string[]): this; forget(): this; memory(): Object;