add dynamic properties to this in typescript code example
Example: typescript dynamic key value object
interface LooseObject {
[key: string]: any
}
var obj: LooseObject = {};
interface LooseObject {
[key: string]: any
}
var obj: LooseObject = {};