From 7e56ca07c47e2c6b99ed383812dac2ed616c156f Mon Sep 17 00:00:00 2001 From: "flynn.park" Date: Thu, 22 Feb 2018 03:04:52 +0900 Subject: [PATCH] Fix typings for memory.js remember method order https://www.typescriptlang.org/docs/handbook/declaration-merging.html --- 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 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; -- 2.39.5