TypeScript - KnockoutJS example