Failed to compile.
./node_modules/@types/babel__traverse/index.d.ts:68:50
Type error: ']' expected.
66 | }
> 68 | export type ArrayKeys<T> = keyof { [P in keyof T as T[P] extends any[] ? P : never]: P };
| ^
70 | export class Scope {
71 | constructor(path: NodePath, parentScope?: Scope);
See images
Steps to reproduce
Remove node-modules
Run npm i
Then compile w/ typescript.
Expected behavior
Typescript should compile
Actual behavior
Typescript does not compile
Additional information
No response
Environment
Browser (if applicable):
React-Calendar version: 3.9.0
React version: 16.14.0
This actually seems to be an issue with this package actually ~ DefinitelyTyped/DefinitelyTyped#63431
Going to close this issue out.