So im using typed-mxgraph 0.0.6
and mxgraph 4.2.2
on typescript 4.0.3
.
I want to create a custom mxGraphLayout and tried creating a StackLayout in Typescript to edit it further to my requirements.
To access the graph of mxGraphLayout i need to call this.graph
.
But when I do that my custom layout, IntelliJ tells me it cant find this.graph
, since its not declared in my custom layout but in the base class. The exact error code is TS2339
.
The weird thing is, it does compile and works just fine!
How can I tell intellij this without having to fix this on each IDE? Since multiple people are working on it its kinda annoying.
question from:
https://stackoverflow.com/questions/65829062/intellij-marks-reference-to-base-class-value-as-ts2339-but-it-does-compile 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…