devicescript icon indicating copy to clipboard operation
devicescript copied to clipboard

@devicescript/gpio does not export some functions

Open wh1tecat-nya opened this issue 2 years ago • 1 comments

in servers/pins document, pinMode, digitalWrite, digitalRead, subscribeDigital are exported by @devicescript/gpio

image (sorry error message is Japanese, but TS2305 is no exported member error.)

but in my workspace, it doesn't. which is correct?

wh1tecat-nya avatar May 26 '23 11:05 wh1tecat-nya

Could you make sure the reference to devicescript dependencies in package.json are >= 2.9.13 ?

pelikhan avatar May 26 '23 15:05 pelikhan

@pelikhan Sorry for the slow response. I had v2.9.12 and update it, I got it resolved. Thank you!

wh1tecat-nya avatar May 31 '23 02:05 wh1tecat-nya