devicescript
devicescript copied to clipboard
assignment to C-defined properties should be forbidden
const b = new ds.Buzzer()
console.log(b.isBound)
;(b as any).isBound = true
console.log(b.isBound)
this could should throw on the assignment