标签: javascript typescript vue.js gulp
我试图在打字稿中这样做:
var component = components.find(c => c.Id == 5);
错误:属性'找到'类型为[]
我不想转发到ES6。
我的环境:
在tsconfig.json
compiler options: ... "lib": ["es6"], (this does not work) "target": "es5" ...