Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The error message indicates a problem that occurred while performing code auto-repair or code checking. It points out that there is an issue when trying to read the 'kind' property of an undefined object. #146

Closed
xsycosomo opened this issue Dec 28, 2024 · 0 comments · Fixed by #148

Comments

@xsycosomo
Copy link

typescript-service.js:31259 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'kind')
at isForInOrOfStatement (typescript-service.js:31259:21)
at typescript-service.js:147254:60
at findAncestor (typescript-service.js:30336:28)
at makeChange4 (typescript-service.js:147254:32)
at typescript-service.js:147333:93
at _ChangeTracker.with (typescript-service.js:168066:21)
at Object.getCodeActionsToAddMissingConst [as getCodeActions] (typescript-service.js:147333:78)
at typescript-service.js:146814:50
at flatMap (typescript-service.js:14131:27)
at Object.getFixes (typescript-service.js:146814:16)

微信图片_20241228095527

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant