]> source.dussan.org Git - svg.js.git/commitdiff
Fix typings for memory.js remember method order 817/head
authorflynn.park <niceilm@naver.com>
Wed, 21 Feb 2018 18:04:52 +0000 (03:04 +0900)
committerflynn.park <niceilm@naver.com>
Wed, 21 Feb 2018 18:04:52 +0000 (03:04 +0900)
https://www.typescriptlang.org/docs/handbook/declaration-merging.html

svg.js.d.ts

index bfa056d9e98218f208f87ea82bee37c4b3cfdee1..ea2bee6b436fd9f231937d864d8c28e095d8b6df 100644 (file)
@@ -554,8 +554,8 @@ declare namespace svgjs {
     // memory.js\r
     interface Element {\r
         remember(name: string, value: any): this;\r
-        remember(obj: Object): this;\r
         remember(name: string): any;\r
+        remember(obj: Object): this;\r
         forget(...keys: string[]): this;\r
         forget(): this;\r
         memory(): Object;\r