Use Typescript In Javascript Object Properties