Commit af4201f
authored
Retain reexports in js emit even when they export nothing (microsoft#37124)
1 parent 478dbfd commit af4201fCopy full SHA for af4201f
29 files changed
+525-22Lines changed: 525 additions & 22 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/compiler/transformers
- tests
- baselines/reference
- tsbuild/watchMode/reexport
- tscWatch/emitAndErrorUpdates
- assumeChangesOnlyAffectDirectDependenciesAndD/updates-errors-when-file-transitively-exported-file-changes
- assumeChangesOnlyAffectDirectDependencies/updates-errors-when-file-transitively-exported-file-changes
- defaultAndD/updates-errors-when-file-transitively-exported-file-changes
- default/updates-errors-when-file-transitively-exported-file-changes
- cases/compiler
Expand file treeCollapse file tree
Open diff view settings
Collapse file
src/compiler/transformers/ts.ts
Copy file name to clipboardExpand all lines: src/compiler/transformers/ts.ts+5-3Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2859 | 2859 | |
2860 | 2860 | |
2861 | 2861 | |
2862 | | - |
2863 | | - |
2864 | | - |
| 2862 | + |
| 2863 | + |
| 2864 | + |
| 2865 | + |
| 2866 | + |
2865 | 2867 | |
2866 | 2868 | |
2867 | 2869 | |
|
Collapse file
tests/baselines/reference/declarationEmitAliasExportStar.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/declarationEmitAliasExportStar.js+11Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
17 | 27 | |
| 28 | + |
18 | 29 | |
19 | 30 | |
20 | 31 | |
|
Collapse file
tests/baselines/reference/es6ExportEqualsInterop.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/es6ExportEqualsInterop.js+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
300 | 300 | |
301 | 301 | |
302 | 302 | |
| 303 | + |
| 304 | + |
303 | 305 | |
304 | 306 | |
305 | 307 | |
|
Collapse file
tests/baselines/reference/exportStarForValues.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/exportStarForValues.js+12-1Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
17 | 27 | |
18 | 28 | |
| 29 | + |
19 | 30 | |
20 | 31 | |
Collapse file
tests/baselines/reference/exportStarForValues10.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/exportStarForValues10.js+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
34 | 34 | |
35 | 35 | |
36 | 36 | |
37 | | - |
| 37 | + |
38 | 38 | |
39 | 39 | |
40 | 40 | |
| ||
49 | 49 | |
50 | 50 | |
51 | 51 | |
| 52 | + |
| 53 | + |
| 54 | + |
52 | 55 | |
53 | 56 | |
54 | 57 | |
|
Collapse file
tests/baselines/reference/exportStarForValues2.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/exportStarForValues2.js+24-2Lines changed: 24 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
17 | 17 | |
18 | 18 | |
19 | 19 | |
20 | | - |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
21 | 31 | |
22 | 32 | |
| 33 | + |
23 | 34 | |
24 | 35 | |
25 | 36 | |
26 | | - |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
27 | 48 | |
28 | 49 | |
| 50 | + |
29 | 51 | |
30 | 52 | |
Collapse file
tests/baselines/reference/exportStarForValues3.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/exportStarForValues3.js+49-4Lines changed: 49 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
29 | 29 | |
30 | 30 | |
31 | 31 | |
32 | | - |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
33 | 43 | |
34 | 44 | |
| 45 | + |
35 | 46 | |
36 | 47 | |
37 | 48 | |
38 | | - |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
39 | 60 | |
40 | 61 | |
| 62 | + |
41 | 63 | |
42 | 64 | |
43 | 65 | |
44 | | - |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
45 | 77 | |
46 | 78 | |
| 79 | + |
| 80 | + |
47 | 81 | |
48 | 82 | |
49 | 83 | |
50 | | - |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
51 | 95 | |
52 | 96 | |
| 97 | + |
53 | 98 | |
54 | 99 | |
Collapse file
tests/baselines/reference/exportStarForValues4.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/exportStarForValues4.js+25-2Lines changed: 25 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
24 | | - |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
25 | 35 | |
26 | 36 | |
| 37 | + |
27 | 38 | |
28 | 39 | |
29 | 40 | |
30 | | - |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
31 | 52 | |
32 | 53 | |
| 54 | + |
| 55 | + |
33 | 56 | |
34 | 57 | |
Collapse file
tests/baselines/reference/exportStarForValues5.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/exportStarForValues5.js+12-1Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
17 | 27 | |
18 | 28 | |
19 | 29 | |
| 30 | + |
20 | 31 | |
Collapse file
tests/baselines/reference/exportStarForValues6.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/exportStarForValues6.js+16-2Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
18 | 18 | |
19 | 19 | |
20 | 20 | |
21 | | - |
| 21 | + |
22 | 22 | |
23 | 23 | |
24 | 24 | |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
25 | 35 | |
26 | | - |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
27 | 41 | |
28 | 42 | |
29 | 43 | |
|
0 commit comments