Open aghArdeshir opened 11 months ago
refactor
myObject.someProp = 'someValue'
to
Object.defineProperty(myObject, 'someProp', { value: 'someValue' })
I use this technique a lot for bypassing TypeScript :grin: But I believe we may be able to find good use cases for it as well. : )
refactor
to
I use this technique a lot for bypassing TypeScript :grin: But I believe we may be able to find good use cases for it as well. : )