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
Assert in assignParameterType during completionEntryDetails in reduxjs/redux-devtools #50869
Labels
Bug
A bug in TypeScript
Crawler-Detected
Detected by a crawler running random TSServer operations on public code.
Fix Available
A PR has been opened for this issue
Milestone
Comments
reduxjs/redux-devtools
|
DanielRosenwasser
added
the
Crawler-Detected
Detected by a crawler running random TSServer operations on public code.
label
Sep 21, 2022
This is all the replay file requires to reproduce the issue {"rootDirPlaceholder":"@PROJECT_ROOT@","serverArgs":["--disableAutomaticTypingAcquisition"]}
{"seq":1,"type":"request","command":"configure","arguments":{"preferences":{"includePackageJsonAutoImports":"off"},"watchOptions":{"excludeDirectories":["**/node_modules"]}}}
{"seq":1537,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/packages/react-base16-styling/src/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":1557,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/react-base16-styling/src/index.ts","line":222,"offset":5,"entryNames":["args"]}} |
You can reliably get it with quick-info too {"rootDirPlaceholder":"@PROJECT_ROOT@","serverArgs":["--disableAutomaticTypingAcquisition"]}
{"seq":1,"type":"request","command":"configure","arguments":{"preferences":{"includePackageJsonAutoImports":"off"},"watchOptions":{"excludeDirectories":["**/node_modules"]}}}
{"seq":1537,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/packages/react-base16-styling/src/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":1557,"type":"request","command":"quickinfo","arguments":{"file":"@PROJECT_ROOT@/packages/react-base16-styling/src/index.ts","line":254,"offset":57}} and here's how you avoid getting the error {"rootDirPlaceholder":"@PROJECT_ROOT@","serverArgs":["--disableAutomaticTypingAcquisition"]}
{"seq":1,"type":"request","command":"configure","arguments":{"preferences":{"includePackageJsonAutoImports":"off"},"watchOptions":{"excludeDirectories":["**/node_modules"]}}}
{"seq":1537,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/packages/react-base16-styling/src/index.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":1556,"type":"request","command":"semanticDiagnosticsSync","arguments":{"file":"@PROJECT_ROOT@/packages/react-base16-styling/src/index.ts"}}
{"seq":1557,"type":"request","command":"quickinfo","arguments":{"file":"@PROJECT_ROOT@/packages/react-base16-styling/src/index.ts","line":254,"offset":57}} |
weswigham
added a commit
to weswigham/TypeScript
that referenced
this issue
Sep 27, 2022
…tive parameters
DanielRosenwasser
pushed a commit
that referenced
this issue
Nov 1, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug
A bug in TypeScript
Crawler-Detected
Detected by a crawler running random TSServer operations on public code.
Fix Available
A PR has been opened for this issue
reduxjs/redux-devtools "Parameter symbol already has a cached type [
any
] which differs from newly assigned type [an empty array/tuple, AFAICT]" while asking about the completion entry details of the rest parameterargs
here.Originally posted by @amcasey in #50835 (comment)
The text was updated successfully, but these errors were encountered: