Errors in `typings/index.d.ts`
akheron opened this issue · comments
downshift
version: 9.0.1node
version: irrelevantnpm
(oryarn
) version: irrelevant
Relevant code or config
typings/index.d.ts
What you did:
Updated downshift to v9.0.1
What happened:
It didn't pass typescript type checking.
Reproduction repository:
Problem description:
Two lines in typings/index.d.ts
are invalid and don't pass Typescript's typecheck. There's no type index
.
Line 618 in 5b0d503
Line 618 in 5b0d503
Suggested solution:
Change index
to number
or whatever is the correct type here.