Skip to content

Commit

Permalink
Fixed typo in error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
msfterictraut committed Sep 12, 2019
1 parent fdb2f93 commit cbf669f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@ _connection.onCodeAction(params => {
a => a.action === commandAddMissingOptionalToParam) as AddMissingOptionalToParamAction;
if (action) {
const addMissingOptionalAction = CodeAction.create(
`Add 'Optional' to type annotation`,
Command.create(`Add 'Optional' to type annotation`, commandAddMissingOptionalToParam,
`Add 'Optional' to type annotation`,
Command.create(`Add 'Optional' to type annotation`, commandAddMissingOptionalToParam,
action.offsetOfTypeNode),
CodeActionKind.QuickFix);
codeActions.push(addMissingOptionalAction);
Expand Down

0 comments on commit cbf669f

Please sign in to comment.