Skip to content
Prev Previous commit
Next Next commit
Update API baselines
  • Loading branch information
Andy Hanson committed Dec 1, 2017
commit a38216c3c4d5cc1d1f5dff1ffef1edd9bd7b2518
2 changes: 1 addition & 1 deletion src/services/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ namespace ts {

export interface CodeFix extends CodeAction {
/** If present, one may call 'getCombinedCodeFix' with this actionId. */
actionId?: {} | undefined;
actionId?: {};
}

export interface CodeActionAll {
Expand Down
8 changes: 4 additions & 4 deletions tests/baselines/reference/api/tsserverlibrary.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4075,8 +4075,8 @@ declare namespace ts {
commands?: CodeActionCommand[];
}
interface CodeFix extends CodeAction {
/** If present, one may call 'applyAllCodeFixesInGroup' with this actionId. */
actionId: {} | undefined;
/** If present, one may call 'getCombinedCodeFix' with this actionId. */
actionId?: {};
}
interface CodeActionAll {
changes: FileTextChanges[];
Expand Down Expand Up @@ -5275,7 +5275,7 @@ declare namespace ts.server.protocol {
arguments: GetCombinedCodeFixRequestArgs;
}
interface GetCombinedCodeFixResponse extends Response {
body: CodeActionAll;
body: CombinedCodeActions;
}
interface ApplyCodeActionCommandRequest extends Request {
command: CommandTypes.ApplyCodeActionCommand;
Expand Down Expand Up @@ -6065,7 +6065,7 @@ declare namespace ts.server.protocol {
/** A command is an opaque object that should be passed to `ApplyCodeActionCommandRequestArgs` without modification. */
commands?: {}[];
}
interface CodeActionAll {
interface CombinedCodeActions {
changes: FileCodeEdits[];
commands?: {}[];
}
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/api/typescript.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4076,7 +4076,7 @@ declare namespace ts {
}
interface CodeFix extends CodeAction {
/** If present, one may call 'getCombinedCodeFix' with this actionId. */
actionId: {} | undefined;
actionId?: {};
}
interface CodeActionAll {
changes: FileTextChanges[];
Expand Down