microsoft / devicescript

TypeScript for Tiny IoT Devices (ESP32, RP2040, ...)
https://microsoft.github.io/devicescript/
MIT License
3.24k stars 113 forks source link

proto assignment not tree-shaken #536

Closed mmoskal closed 11 months ago

mmoskal commented 1 year ago

This is in new gpio/pins.ts:

GPIOproto.subscribe = function (this: MyInputPin, h) {