-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Fix completion details auto-imports crashes #52686
Changes from all commits
a1d36cd
5a828e8
605b0d9
6c85f52
febe4bb
dc3c916
7e532b9
93af437
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,9 +31,7 @@ verify.completions({ | |
}, | ||
], { noLib: true }), | ||
preferences: { includeCompletionsForModuleExports: true }, | ||
}); | ||
|
||
verify.applyCodeActionFromCompletion("", { | ||
}).andApplyCodeAction({ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a new fourslash API for calling |
||
name: "Test1", | ||
source: "/a", | ||
description: `Update import from "./a"`, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't recall but I think our own utility for checking if something is in an array is faster.