typescript access dynamic key object property code example
Example: typescript dynamic key value object
interface LooseObject {
[key: string]: any
}
var obj: LooseObject = {};
interface LooseObject {
[key: string]: any
}
var obj: LooseObject = {};