say I'm using TypeScript to generate library code that will be consumed by external clients.
today, I use the following code to create customized properties:
it seems that this type of flexibility isn't currently supported by TypeScript.
1) are there plans to support this kind of thing in the future?
2) until then, how can we define such a property so it is also visible from within TypeScript and retains the correct semantics (hasOwnProperty, for...in, etc...) ?