我正在尝试在Gulp中建立一个使用Typescript的项目。但是,当我尝试执行npm run gulp时,抛出了以下错误: [09:03:17] Using gulpfile ~/Programming/Projects/ghars/gulpfile.js[09:03:19] 'default' errored after 2.25 s
[09:03:19] TypeError: Cannot
== undefined),if(typeof a != 'undefined'),.我总是在行a.prop.find()或if语句本身中得到相同的错误。state.find(state => state.id === this.id);B.class // Check if a is undefined