Typescript Dynamic Key Value In C