From 267d2431663c9732d224ff7595846a622c48f707 Mon Sep 17 00:00:00 2001 From: Max Franz Date: Fri, 10 Jan 2025 12:01:11 -0500 Subject: [PATCH] .json() returns an object Ref: First-party Typescript support #3306 --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index bfe2a7114..1a2eacf51 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1718,7 +1718,7 @@ declare namespace cytoscape { * Get the element's plain JavaScript object representation. * http://js.cytoscape.org/#ele.json */ - json(): string; + json(): Object; /** * Get the group string that defines the type of the element.