CARVIEW |
Select Language
HTTP/2 200
date: Fri, 18 Jul 2025 17:37:37 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/microsoft/TypeScript.git
etag: W/"ad9cc8f66f1d00657b0927c45f5d31da"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=d7Ykou%2FxXoxmi7S3ewxgdEVuxhb%2FIY7phrjeb76PPwU9BZKgDJyPIWJEVs7OsyybmROZOld5bHaQvwpRoiFuLLJzw2Qyxe%2Bxw8Xmv4gJ5UcfngMQ52Z%2FO1XXmHky88NAAYp3cMVC0ozgrKkz57xuJH8mA7J4cFaxAwYZeAhh18A7cxXmxzTJjVEhfMmb47bGpyslQ1VJ8s89SwuLx%2FdhRP2fW3sSiB6ruyu3uvF3Og6i3FfppvYorMFawbROsFcyHsl8b%2FHqCtPW56TdlPqcPw%3D%3D--HYyTehzhfXkPP64q--c9ShqpR5UcqJ0AN%2FJGZD9g%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1376955393.1752860255; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 17:37:35 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 17:37:35 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DA5A:17B7A1:34C4C:40BB4:687A865F
Implement export as namespace from (#34903) · microsoft/TypeScript@4c7844b · GitHub
Dismiss banner
Copy file name to clipboardExpand all lines: src/compiler/factoryPublic.ts
Copy file name to clipboardExpand all lines: src/compiler/transformer.ts
Copy file name to clipboardExpand all lines: src/compiler/transformers/module/esnextAnd2015.ts
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit 4c7844b
Implement export as namespace from (#34903)
* init export start as decl
* fix some broken
* fix more case
* fix more and more case
* make it work
* make lint happy and accept baseline
* add more tests
* fix system module
* add more case
* delete useless assert
* accept baseline
* make lint happy
* fix missing utils
* update api
* make lint happy
* add missing semi
* fix minor issue
* fix locally bound
* avoid useless check
* update public api
* add more case
* fix some case
* Use multi-module selection in test runner to cut down on duplication.
* Accepted baselines.
* remove superfluous tests.
* Remove baseline.
* Downlevel `export * as ns` in es2015.
* Accepted baselines.
* Update names of things.
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>1 parent 2f0d07c commit 4c7844bCopy full SHA for 4c7844b
File tree
Expand file treeCollapse file tree
129 files changed
+4734
-212
lines changedFilter options
- src
- compiler
- transformers
- module
- services
- tests
- baselines/reference
- api
- cases/conformance/es2020/modules
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
129 files changed
+4734
-212
lines changed+10-2Lines changed: 10 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 |
| - | |
| 59 | + | |
| 60 | + | |
60 | 61 |
| |
61 |
| - | |
| 62 | + | |
62 | 63 |
| |
63 | 64 |
| |
64 | 65 |
| |
| |||
2575 | 2576 |
| |
2576 | 2577 |
| |
2577 | 2578 |
| |
| 2579 | + | |
| 2580 | + | |
| 2581 | + | |
2578 | 2582 |
| |
2579 | 2583 |
| |
2580 | 2584 |
| |
| |||
4111 | 4115 |
| |
4112 | 4116 |
| |
4113 | 4117 |
| |
| 4118 | + | |
| 4119 | + | |
| 4120 | + | |
| 4121 | + | |
4114 | 4122 |
| |
4115 | 4123 |
| |
4116 | 4124 |
| |
|
+34-11Lines changed: 34 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1551 | 1551 |
| |
1552 | 1552 |
| |
1553 | 1553 |
| |
1554 |
| - | |
| 1554 | + | |
1555 | 1555 |
| |
1556 | 1556 |
| |
1557 | 1557 |
| |
| |||
2221 | 2221 |
| |
2222 | 2222 |
| |
2223 | 2223 |
| |
| 2224 | + | |
| 2225 | + | |
| 2226 | + | |
| 2227 | + | |
| 2228 | + | |
2224 | 2229 |
| |
2225 | 2230 |
| |
2226 | 2231 |
| |
| |||
2386 | 2391 |
| |
2387 | 2392 |
| |
2388 | 2393 |
| |
| 2394 | + | |
| 2395 | + | |
2389 | 2396 |
| |
2390 | 2397 |
| |
2391 | 2398 |
| |
| |||
5081 | 5088 |
| |
5082 | 5089 |
| |
5083 | 5090 |
| |
5084 |
| - | |
| 5091 | + | |
5085 | 5092 |
| |
5086 | 5093 |
| |
5087 | 5094 |
| |
5088 | 5095 |
| |
5089 | 5096 |
| |
5090 |
| - | |
| 5097 | + | |
5091 | 5098 |
| |
5092 | 5099 |
| |
5093 | 5100 |
| |
5094 | 5101 |
| |
5095 |
| - | |
| 5102 | + | |
5096 | 5103 |
| |
5097 | 5104 |
| |
5098 | 5105 |
| |
| |||
5104 | 5111 |
| |
5105 | 5112 |
| |
5106 | 5113 |
| |
5107 |
| - | |
| 5114 | + | |
5108 | 5115 |
| |
5109 | 5116 |
| |
5110 | 5117 |
| |
| |||
5118 | 5125 |
| |
5119 | 5126 |
| |
5120 | 5127 |
| |
5121 |
| - | |
5122 |
| - | |
| 5128 | + | |
| 5129 | + | |
5123 | 5130 |
| |
5124 | 5131 |
| |
5125 | 5132 |
| |
| |||
5137 | 5144 |
| |
5138 | 5145 |
| |
5139 | 5146 |
| |
5140 |
| - | |
| 5147 | + | |
5141 | 5148 |
| |
5142 | 5149 |
| |
5143 | 5150 |
| |
| |||
5653 | 5660 |
| |
5654 | 5661 |
| |
5655 | 5662 |
| |
| 5663 | + | |
| 5664 | + | |
| 5665 | + | |
| 5666 | + | |
| 5667 | + | |
| 5668 | + | |
| 5669 | + | |
| 5670 | + | |
5656 | 5671 |
| |
5657 | 5672 |
| |
5658 | 5673 |
| |
| |||
32608 | 32623 |
| |
32609 | 32624 |
| |
32610 | 32625 |
| |
32611 |
| - | |
| 32626 | + | |
32612 | 32627 |
| |
32613 | 32628 |
| |
32614 | 32629 |
| |
| |||
32727 | 32742 |
| |
32728 | 32743 |
| |
32729 | 32744 |
| |
32730 |
| - | |
| 32745 | + | |
| 32746 | + | |
| 32747 | + | |
| 32748 | + | |
| 32749 | + | |
| 32750 | + | |
32731 | 32751 |
| |
32732 | 32752 |
| |
32733 | 32753 |
| |
| |||
34157 | 34177 |
| |
34158 | 34178 |
| |
34159 | 34179 |
| |
34160 |
| - | |
| 34180 | + | |
| 34181 | + | |
| 34182 | + | |
| 34183 | + | |
34161 | 34184 |
| |
34162 | 34185 |
| |
34163 | 34186 |
| |
|
+13Lines changed: 13 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1435 | 1435 |
| |
1436 | 1436 |
| |
1437 | 1437 |
| |
| 1438 | + | |
| 1439 | + | |
1438 | 1440 |
| |
1439 | 1441 |
| |
1440 | 1442 |
| |
| |||
3104 | 3106 |
| |
3105 | 3107 |
| |
3106 | 3108 |
| |
| 3109 | + | |
| 3110 | + | |
| 3111 | + | |
| 3112 | + | |
| 3113 | + | |
| 3114 | + | |
| 3115 | + | |
| 3116 | + | |
3107 | 3117 |
| |
3108 | 3118 |
| |
3109 | 3119 |
| |
| |||
4408 | 4418 |
| |
4409 | 4419 |
| |
4410 | 4420 |
| |
| 4421 | + | |
| 4422 | + | |
| 4423 | + | |
4411 | 4424 |
| |
4412 | 4425 |
| |
4413 | 4426 |
| |
|
src/compiler/factoryPublic.ts
Copy file name to clipboardExpand all lines: src/compiler/factoryPublic.ts+14-2Lines changed: 14 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2278 | 2278 |
| |
2279 | 2279 |
| |
2280 | 2280 |
| |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
2281 | 2287 |
| |
2282 | 2288 |
| |
2283 | 2289 |
| |
2284 | 2290 |
| |
2285 | 2291 |
| |
2286 | 2292 |
| |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
2287 | 2299 |
| |
2288 | 2300 |
| |
2289 | 2301 |
| |
| |||
2327 | 2339 |
| |
2328 | 2340 |
| |
2329 | 2341 |
| |
2330 |
| - | |
| 2342 | + | |
2331 | 2343 |
| |
2332 | 2344 |
| |
2333 | 2345 |
| |
| |||
2340 | 2352 |
| |
2341 | 2353 |
| |
2342 | 2354 |
| |
2343 |
| - | |
| 2355 | + | |
2344 | 2356 |
| |
2345 | 2357 |
| |
2346 | 2358 |
| |
|
+11Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
390 | 390 |
| |
391 | 391 |
| |
392 | 392 |
| |
| 393 | + | |
| 394 | + | |
393 | 395 |
| |
394 | 396 |
| |
395 | 397 |
| |
| |||
6470 | 6472 |
| |
6471 | 6473 |
| |
6472 | 6474 |
| |
| 6475 | + | |
| 6476 | + | |
| 6477 | + | |
| 6478 | + | |
| 6479 | + | |
| 6480 | + | |
6473 | 6481 |
| |
6474 | 6482 |
| |
6475 | 6483 |
| |
| 6484 | + | |
| 6485 | + | |
| 6486 | + | |
6476 | 6487 |
| |
6477 | 6488 |
| |
6478 | 6489 |
| |
|
src/compiler/transformer.ts
Copy file name to clipboardExpand all lines: src/compiler/transformer.ts+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
|
src/compiler/transformers/module/es2015.ts renamed to src/compiler/transformers/module/esnextAnd2015.ts
Copy file name to clipboardExpand all lines: src/compiler/transformers/module/esnextAnd2015.ts+39-1Lines changed: 39 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
| 47 | + | |
| 48 | + | |
| 49 | + | |
47 | 50 |
| |
48 | 51 |
| |
49 | 52 |
| |
| |||
54 | 57 |
| |
55 | 58 |
| |
56 | 59 |
| |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
57 | 95 |
| |
58 | 96 |
| |
59 | 97 |
| |
|
You can’t perform that action at this time.
0 commit comments