大家好我在尝试使用带角度2的lodash时遇到问题错误是
node_modules/@types/lodash/index.d.ts(7429,25): error TS2304: Cannot find name 'object'
我不知道这是什么错误
这是我的index.d.ts
flatMap(
collection: object | null | undefined,
iteratee: object
): boolean[];
interface LoDashImplicitWrapper<T> {
/**
* @see _.flatMap
*/
flatMap<TResult>(
iteratee: StringIterator<Many<TResult>>
): LoDashImplicitArrayWrapper<TResult>;
/**
* @see _.flatMap
*/
flatMap(): LoDashImplicitArrayWrapper<string>;
}