fix isPreferred of CodeAction
This commit is contained in:
parent
2d0b2b1a1b
commit
ae48046032
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ export default class TypeScriptQuickFixProvider implements CodeActionProvider {
|
|||
}
|
||||
codeAction.edit = getEditForCodeAction(this.client, tsAction)
|
||||
codeAction.diagnostics = [diagnostic]
|
||||
; (codeAction as any).isPrefered = true
|
||||
codeAction.isPreferred = true
|
||||
if (tsAction.commands) {
|
||||
codeAction.command = {
|
||||
command: ApplyCodeActionCommand.ID,
|
||||
|
|
Loading…
Reference in a new issue