Fix typo in typed.js