Typescript Object Initialization In C