Simple TypeScript Calculator