File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -28454,7 +28454,7 @@ namespace ts {
28454
28454
if (relatedInfo) {
28455
28455
addRelatedInfo(resultDiagnostic, relatedInfo);
28456
28456
}
28457
- addErrorOrSuggestion(!isUncheckedJS, resultDiagnostic);
28457
+ addErrorOrSuggestion(!isUncheckedJS || errorInfo.code !== Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code , resultDiagnostic);
28458
28458
}
28459
28459
28460
28460
function containerSeemsToBeEmptyDomElement(containingType: Type) {
Original file line number Diff line number Diff line change
1
+ /// <reference path='fourslash.ts' />
2
+
3
+ // @allowjs : true
4
+ // @noEmit : true
5
+
6
+ // @filename : noSuggestionWithoutDidYouMean.js
7
+ //// let a = {};
8
+ //// console.log(a.apple);
9
+ verify . noErrors ( )
10
+ verify . getSuggestionDiagnostics ( [ ] )
You can’t perform that action at this time.
0 commit comments