TypeScript Update

Updated TypeScript  to follow JavaScript