TypeScript is giving me error TS2574: A rest element type must be an array type. #179
Answered
by
wooorm
zenhuzaini
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Murderlon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, when I run tsc tsconfig.json, I have an error TS2574 in unified module.
node_modules/unified/index.d.ts:590:47 - error TS2574: A rest element type must be an array type.
here is what in tsconfig.json
recently for @types/react I am using the version
17.0.5
. I have tried to upgrade and downgrade the version but I still have the same error. and for unified, I have version^10.0.0
Beta Was this translation helpful? Give feedback.
All reactions