mirror of
https://github.com/microsoft/pyright.git
synced 2024-09-11 16:06:39 +03:00
Fixed typo in error message.
This commit is contained in:
parent
fdb2f93814
commit
cbf669f860
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user