Editing esprima.js so that a type annotation is only parsed if it exists, and explicitly not defaulting it to typeAnnotation : 'any'