环境:IDEA
文件--设置--语言&框架--JavaScript--修改版本
解决:Method definition shorthands are not supported
原文:https://blog.51cto.com/14234228/2500779