SyntaxError: Unexpected token ':' with 1.10.1

After updating to meteor 1.10.1 I get the following error:

/home/alan/Desktop/Web/HiDoc/.meteor/local/build/programs/server/app/app.js:65223
 function obtenerRecetaEnPDF(receta, nombrePaciente, _ref, usuario, consultorio, logoIzq: String, logoDer: String, headers: Boolean) {

SyntaxError: Unexpected token ':'
at new Script (vm.js:88:7)
at createScript (vm.js:263:10)
at Object.runInThisContext (vm.js:311:10)
at /home/alan/Desktop/Web/HiDoc/.meteor/local/build/programs/server/boot.js:381:32
at Array.forEach (<anonymous>)
at /home/alan/Desktop/Web/HiDoc/.meteor/local/build/programs/server/boot.js:226:21
at /home/alan/Desktop/Web/HiDoc/.meteor/local/build/programs/server/boot.js:461:7
at Function.run (/home/alan/Desktop/Web/HiDoc/.meteor/local/build/programs/server/profile.js:280:14)
at /home/alan/Desktop/Web/HiDoc/.meteor/local/build/programs/server/boot.js:460:13

This is my packages file:

# Meteor packages used by this project, one per line.
# Check this file (and the other files in this directory) into your repository.
#
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.

meteor-base@1.4.0             # Packages every Meteor app needs to have
mongo@1.9.0                   # The database Meteor supports right now
blaze-html-templates@1.0.4 # Compile .html files into Meteor Blaze views
reactive-var@1.0.11            # Reactive variable for tracker
tracker@1.2.0                 # Meteor's client-side reactive programming library

standard-minifier-css@1.6.0   # CSS minifier run for production mode
standard-minifier-js    # JS minifier run for production mode
es5-shim@4.8.0                # ECMAScript 5 compatibility for older browsers
shell-server@0.5.0            # Server-side component of the `meteor shell` command

ostrio:flow-router-extra
ostrio:flow-router-title
ostrio:flow-router-meta
accounts-password@1.6.0
aldeed:collection2
mdg:validated-method
momentjs:moment
rzymek:moment-locale-es
ostrio:base64
edgee:slingshot
underscore@1.0.10
react-meteor-data
http@1.4.2
tomwasd:history-polyfill
littledata:synced-cron
reywood:publish-composite
accounts-google@1.3.3
service-configuration@1.0.11
bozhao:link-accounts
nimble:restivus
mikowals:batch-insert
meteorhacks:async
meteorhacks:aggregate
meteorhacks:subs-manager
staringatlights:fast-render
reactive-dict@1.3.0
aldeed:schema-index
tunguska:reactive-aggregate
meteorhacks:inject-initial
alanning:roles
meteortesting:mocha
xolvio:cleaner
jquery
ecmascript
coffeescript

Looks like there’s still some type signatures in the arguments list:

function obtenerRecetaEnPDF(/*snip*/, logoIzq: String, logoDer: String, headers: Boolean) {

Is this function in your app, or from a dependency?

If it’s typescript code, you might need to add the typescript package: meteor add typescript

Its in my App but it was working fine in 1.8.1.
Had to remove the type signatures for it to work