Parsing error: DeprecationError: 'originalKeywordKind' has been deprecated since v5.0.0 and can no longer be used
Full error message
When upgrading an existing React project I'm getting the following error at line 0 of every .tsx file. Parsing error: DeprecationError: 'originalKeywordKind' has been deprecated since v5.0.0 and can no longer be used. Use 'identifierToKeywordKind(identifier)' instead. How can I diagnose and remove the error?
Solutionsource: stackoverflow \u2197
Having updated libs: @typescript-eslint/eslint-plugin @typescript-eslint/parser to versions 6.x resolved the problem. See https://github.com/typescript-eslint/typescript-eslint/issues/7155#issuecomment-1692384149 for additional details.
API access
Get this solution programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/error/ff87d2891d749999827d8516b8c886b92f9df1e417f4fbc54e36ffa28ff15fb3hash \u00b7 ff87d2891d749999827d8516b8c886b92f9df1e417f4fbc54e36ffa28ff15fb3