ioBroker.javascript
ioBroker.javascript copied to clipboard
Improve loading of typings when the adapter is disabled
When the adapter is not running, the editor cannot load the typings and thus can't do syntax and type checking.
This can be improved by...
- [ ] storing the NodeJS (@types/node) and ioBroker (javascript.d.ts) typings in an object like the scripts
- [ ] assembling the global script typings in the frontend
See also https://github.com/ioBroker/ioBroker.javascript/issues/167#issuecomment-411399021 Apparently we don't even need the global declarations in the front-end as we can have multiple models in memory.
@AlCalzone Done?
No I didn't do anything on the typings / TS stuff while you were reworking the editor for 4.0. I can take another look when I find the time to.
Do we have a status here?
nope