MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/1sqdgr9/diagramsjs_cloud_architecture_diagrams_as_code/oh755mz/
r/javascript • u/hatemhosny • Apr 20 '26
9 comments sorted by
View all comments
Show parent comment
3
This is the TypeScript error that I get:
node_modules/diagrams-js/dist/index.d.ts:1171:7 - error TS2502: 'fromJSON' is referenced directly or indirectly in its own type annotation. 1171 var fromJSON: typeof fromJSON;
0 u/hatemhosny Apr 20 '26 Please update TypeScript: Newer versions of TypeScript handle recursive types correctly. 1 u/abrahamguo Apr 20 '26 I am on the most recent version of TypeScript.
0
Please update TypeScript: Newer versions of TypeScript handle recursive types correctly.
1 u/abrahamguo Apr 20 '26 I am on the most recent version of TypeScript.
1
I am on the most recent version of TypeScript.
View all comments
Show parent comment
3
u/abrahamguo Apr 20 '26
This is the TypeScript error that I get: