ioBroker.js-controller icon indicating copy to clipboard operation
ioBroker.js-controller copied to clipboard

Move types into controller repo

Open foxriver76 opened this issue 1 year ago • 1 comments

To prevent duplicates and if we change a method in code we do not need to change the typings somewhere else, as this is an unneeded complex procedure.

foxriver76 avatar Jul 20 '22 10:07 foxriver76

I think we might need to use some kind of types bundler so the types can be used without needing to install all controller packages. tsup, Microsoft/api-extractor or something similar, then publish the result als @iobroker/types for example.

AlCalzone avatar Oct 08 '22 11:10 AlCalzone