TypeScript: Fix typo for transition

Fix for the route (the string prevent the array of string for routes definitions)