Fixed errors with --noImplicitAny