I was not pleased when it told me I have have to do
this.blahBlah = value
in the constructor because it didn't quite catch, and maybe still doesn't, that
Object.defineProperties(this, { bla: { value: ... } blah: {get, set} })
is completely legit
That said, I do prefer ts to vanilla. It's less work than maintaining d.ts files
Object.defineProperties
Or am I misunderstanding something?
I was not pleased when it told me I have have to do
this.blahBlah = value
in the constructor because it didn't quite catch, and maybe still doesn't, that
Object.defineProperties(this, { bla: { value: ... } blah: {get, set} })
is completely legit
That said, I do prefer ts to vanilla. It's less work than maintaining d.ts files