Skip to content

Commit

Permalink
.json() returns an object
Browse files Browse the repository at this point in the history
Ref: First-party Typescript support #3306
  • Loading branch information
maxkfranz committed Jan 10, 2025
1 parent fa01dfc commit 267d243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 267d243

Please sign in to comment.