- Got a code that is fully written in TypeScript.
- TypeScript emits "use strict" into all the generated JavaScript files.
- Was using neXt to draw a topology, but need to use the inherited function. This function uses the "caller" attribute of the function prototype to find the base function and call it. However, caller is not allowed when using "use strict"
Unfortunately not, now, whenever you want to call inherited, go instead to the parent class, take the code, and copy/paste it instead. The problem is that the "caller" cannot be used in strict mode, so the implementation of inherited must be changed in order for it to work. The development is active and the package will be included into the next release of OpenDaylight.
Comments
0 comments
Please sign in to leave a comment.