ioBroker.javascript icon indicating copy to clipboard operation
ioBroker.javascript copied to clipboard

Improve loading of typings when the adapter is disabled

Open AlCalzone opened this issue 7 years ago • 5 comments

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

AlCalzone avatar Jul 10 '18 08:07 AlCalzone

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 avatar Aug 08 '18 13:08 AlCalzone

@AlCalzone Done?

GermanBluefox avatar Feb 28 '19 21:02 GermanBluefox

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.

AlCalzone avatar Mar 01 '19 07:03 AlCalzone

Do we have a status here?

Apollon77 avatar Feb 26 '21 21:02 Apollon77

nope

AlCalzone avatar Feb 26 '21 23:02 AlCalzone