Hmm... There are a few possible reasons. In that particular case, "login" is not implicit, because the type of "logins" should be known. That might not be available to tsc if you have not done a full build first though. Have you done a full build with
./scripts/build.sh
?