Added @types/ramda
Now I get typescript errors from @types/ramda
Failed to compile.
/Users/xx/WebstormProjects/xx/frontend/node_modules/@types/ramda/index.d.ts
TypeScript error: ',' expected. TS1005
81 | * function: the current index, and the entire list.
82 | */
> 83 | export function addIndex<T, U>(fn: (f: (item: T) => U, list: readonly T[]) => U[]): _.F.Curry<(a: (item: T, idx: number, list?: T[]) => U, b: readonly T[]) => U[]>;
| ^
84 | /* Special case for forEach */
85 | export function addIndex<T>(fn: (f: (item: T) => void, list: readonly T[]) => T[]): _.F.Curry<(a: (item: T, idx: number, list?: T[]) => void, b: readonly T[]) => T[]>;
86 | /* Special case for reduce */
I have many other @types and none is giving any errors except this.
My tsconfig.json:
"include": [
"./typings/**/*",
"./src/**/*",
"./test/**/*"
],
"exclude": [
"node_modules"
]