Commit 707ed69
authored
Merge pull request microsoft#12366 from Microsoft/declarationsInFilesWithErrors
[Release 2.1] Fixes for microsoft#12291 and microsoft#12326: Declaration emit when there are errors in the source file8 files changed
+62-1Lines changed: 62 additions & 1 deletion
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/compiler
- tests
- baselines/reference
- cases/compiler
Expand file treeCollapse file tree
Open diff view settings
Collapse file
src/compiler/declarationEmitter.ts
Copy file name to clipboardExpand all lines: src/compiler/declarationEmitter.ts+8-1Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1037 | 1037 | |
1038 | 1038 | |
1039 | 1039 | |
| 1040 | + |
| 1041 | + |
| 1042 | + |
| 1043 | + |
1040 | 1044 | |
1041 | 1045 | |
1042 | 1046 | |
| ||
1143 | 1147 | |
1144 | 1148 | |
1145 | 1149 | |
1146 | | - |
| 1150 | + |
| 1151 | + |
| 1152 | + |
| 1153 | + |
1147 | 1154 | |
1148 | 1155 | |
1149 | 1156 | |
|
Collapse file
src/compiler/diagnosticMessages.json
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2276 | 2276 | |
2277 | 2277 | |
2278 | 2278 | |
| 2279 | + |
| 2280 | + |
| 2281 | + |
| 2282 | + |
2279 | 2283 | |
2280 | 2284 | |
2281 | 2285 | |
|
Collapse file
tests/baselines/reference/declarationEmitInterfaceWithNonEntityNameExpressionHeritage.errors.txt
Copy file name to clipboard+9Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
Collapse file
tests/baselines/reference/declarationEmitInterfaceWithNonEntityNameExpressionHeritage.js
Copy file name to clipboard+18Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
Collapse file
tests/baselines/reference/declarationEmitTypeAliasTypeParameterExtendingUnknownSymbol.errors.txt
Copy file name to clipboard+11Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
Collapse file
tests/baselines/reference/declarationEmitTypeAliasTypeParameterExtendingUnknownSymbol.js
Copy file name to clipboard+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
Collapse file
tests/cases/compiler/declarationEmitInterfaceWithNonEntityNameExpressionHeritage.ts
Copy file name to clipboard+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
Collapse file
tests/cases/compiler/declarationEmitTypeAliasTypeParameterExtendingUnknownSymbol.ts
Copy file name to clipboard+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
0 commit comments