Write a function called doubleValues which accepts an array and returns a new array with all the values in the array passed to the function doubled
doubleValues([1,2,3]) // [2,4,6] return arra
我刚开始使用Typescript,并且我对下面的代码有问题。 const mappedValues = values.map((value) => { ? value });Typescript引发错误
Cannot invoke an expression whose type lacks a call signature. Type