Fix cmpilation errors with --noImplicitAny