Updated the TypeScript file