Skip to content

Commit

Permalink
Fixed diagnostic message typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirtitian committed Oct 10, 2023
1 parent 78093a9 commit 1cad6d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/compiler/diagnosticMessages.json
Original file line number Diff line number Diff line change
Expand Up @@ -7012,7 +7012,7 @@
"category": "Message",
"code": 90066
},
"Add all missing tye annotations": {
"Add all missing type annotations": {
"category": "Message",
"code": 90067
},
Expand Down
3 changes: 1 addition & 2 deletions src/services/codefixes/fixMissingTypeAnnotationOnExports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import {
getSynthesizedDeepClone,
getTokenAtPosition,
getTrailingCommentRanges,
hasStaticModifier,
hasSyntacticModifier,
Identifier,
isArrayBindingPattern,
Expand Down Expand Up @@ -170,7 +169,7 @@ function addCodeAction(
changes.textChanges,
changes.result,
fixId,
Diagnostics.Add_all_missing_tye_annotations,
Diagnostics.Add_all_missing_type_annotations,
);
if (!fixes.find(f => f.description === newFix.description)) fixes.push(newFix);
}
Expand Down

0 comments on commit 1cad6d7

Please sign in to comment.