CARVIEW |
Select Language
HTTP/2 200
date: Fri, 18 Jul 2025 21:12:34 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/"98d11552ac03e156a2cec3b81b4eb4ff"
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=7FOnqO5ChrVYgZGxrHKIQUZeq4imIRsVcoZhBHp6kHceU%2FNTEoFdhsEi4BGtASu%2FZWbtpQgehyFKGyLuxK6NqIEOrdtIwkfe3VZTUxuyNTjSizEmvWC5GMSCVIcc7UKyRXfY82d45teOiL0usjKiFw4%2FKBYOi1%2FxhxS866%2BucqSEn5WX2jAv%2BD%2F6%2Fjn0V2Pjlk3fNsHkrbSBkV27nG1Kidku5ErGMwIll1ji7Ex9pPcCX5ysVhXmAf7ZIP5chGNCDWV%2F%2FyPNKggejYFZZMJF%2Bg%3D%3D--Q10wT6q4WOXr3%2Fu%2F--kPrfdXbp2FCizhFJSBQ14Q%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1838782370.1752873153; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 21:12:33 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 21:12:33 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D716:E3E22:1883C5:200727:687AB8C1
Add import assertions to type only imports and import types to force … · microsoft/TypeScript@ea0db9e · GitHub
Dismiss banner
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit ea0db9e
authored
Add import assertions to type only imports and import types to force the resolution mode of the specifier (#47807)
* Add import assertions for type-only imports and import types to change resolver modes
* By popular request, only allow mode assertions on top-level type only imports
* Add specifier options parameter to specifier generation1 parent ff1f7b1 commit ea0db9eCopy full SHA for ea0db9e
File tree
Expand file treeCollapse file tree
60 files changed
+3302
-314
lines changedFilter options
- src
- compiler
- factory
- transformers
- server
- services
- testRunner/unittests/tsserver
- tests
- baselines/reference
- api
- cases/conformance/node
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
60 files changed
+3302
-314
lines changed+92-13Lines changed: 92 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3491 | 3491 |
| |
3492 | 3492 |
| |
3493 | 3493 |
| |
3494 |
| - | |
| 3494 | + | |
| 3495 | + | |
| 3496 | + | |
| 3497 | + | |
| 3498 | + | |
3495 | 3499 |
| |
3496 | 3500 |
| |
3497 | 3501 |
| |
| |||
5985 | 5989 |
| |
5986 | 5990 |
| |
5987 | 5991 |
| |
5988 |
| - | |
| 5992 | + | |
5989 | 5993 |
| |
5990 | 5994 |
| |
5991 | 5995 |
| |
| |||
6018 | 6022 |
| |
6019 | 6023 |
| |
6020 | 6024 |
| |
| 6025 | + | |
| 6026 | + | |
6021 | 6027 |
| |
6022 |
| - | |
| 6028 | + | |
6023 | 6029 |
| |
6024 | 6030 |
| |
6025 | 6031 |
| |
| |||
6034 | 6040 |
| |
6035 | 6041 |
| |
6036 | 6042 |
| |
6037 |
| - | |
| 6043 | + | |
| 6044 | + | |
| 6045 | + | |
| 6046 | + | |
| 6047 | + | |
| 6048 | + | |
| 6049 | + | |
6038 | 6050 |
| |
6039 | 6051 |
| |
6040 |
| - | |
| 6052 | + | |
6041 | 6053 |
| |
6042 | 6054 |
| |
| 6055 | + | |
| 6056 | + | |
| 6057 | + | |
| 6058 | + | |
6043 | 6059 |
| |
6044 | 6060 |
| |
6045 | 6061 |
| |
| |||
6055 | 6071 |
| |
6056 | 6072 |
| |
6057 | 6073 |
| |
6058 |
| - | |
| 6074 | + | |
| 6075 | + | |
| 6076 | + | |
| 6077 | + | |
| 6078 | + | |
| 6079 | + | |
| 6080 | + | |
| 6081 | + | |
| 6082 | + | |
| 6083 | + | |
| 6084 | + | |
| 6085 | + | |
| 6086 | + | |
| 6087 | + | |
| 6088 | + | |
| 6089 | + | |
| 6090 | + | |
| 6091 | + | |
| 6092 | + | |
6059 | 6093 |
| |
6060 |
| - | |
6061 |
| - | |
6062 |
| - | |
6063 |
| - | |
6064 |
| - | |
| 6094 | + | |
| 6095 | + | |
| 6096 | + | |
| 6097 | + | |
| 6098 | + | |
| 6099 | + | |
| 6100 | + | |
| 6101 | + | |
| 6102 | + | |
| 6103 | + | |
| 6104 | + | |
| 6105 | + | |
| 6106 | + | |
| 6107 | + | |
| 6108 | + | |
| 6109 | + | |
| 6110 | + | |
| 6111 | + | |
| 6112 | + | |
| 6113 | + | |
| 6114 | + | |
| 6115 | + | |
| 6116 | + | |
| 6117 | + | |
| 6118 | + | |
| 6119 | + | |
| 6120 | + | |
6065 | 6121 |
| |
6066 | 6122 |
| |
6067 | 6123 |
| |
| |||
6072 | 6128 |
| |
6073 | 6129 |
| |
6074 | 6130 |
| |
6075 |
| - | |
| 6131 | + | |
6076 | 6132 |
| |
6077 | 6133 |
| |
6078 | 6134 |
| |
6079 | 6135 |
| |
6080 |
| - | |
| 6136 | + | |
6081 | 6137 |
| |
6082 | 6138 |
| |
6083 | 6139 |
| |
| |||
35293 | 35349 |
| |
35294 | 35350 |
| |
35295 | 35351 |
| |
| 35352 | + | |
| 35353 | + | |
| 35354 | + | |
| 35355 | + | |
| 35356 | + | |
| 35357 | + | |
| 35358 | + | |
| 35359 | + | |
| 35360 | + | |
| 35361 | + | |
35296 | 35362 |
| |
35297 | 35363 |
| |
35298 | 35364 |
| |
| |||
40133 | 40199 |
| |
40134 | 40200 |
| |
40135 | 40201 |
| |
| 40202 | + | |
| 40203 | + | |
| 40204 | + | |
| 40205 | + | |
| 40206 | + | |
| 40207 | + | |
| 40208 | + | |
| 40209 | + | |
| 40210 | + | |
40136 | 40211 |
| |
40137 | 40212 |
| |
40138 | 40213 |
| |
| |||
40144 | 40219 |
| |
40145 | 40220 |
| |
40146 | 40221 |
| |
| 40222 | + | |
| 40223 | + | |
| 40224 | + | |
| 40225 | + | |
40147 | 40226 |
| |
40148 | 40227 |
| |
40149 | 40228 |
| |
|
src/compiler/diagnosticMessages.json
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json+12Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1416 | 1416 |
| |
1417 | 1417 |
| |
1418 | 1418 |
| |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
1419 | 1431 |
| |
1420 | 1432 |
| |
1421 | 1433 |
| |
|
+13Lines changed: 13 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2389 | 2389 |
| |
2390 | 2390 |
| |
2391 | 2391 |
| |
| 2392 | + | |
| 2393 | + | |
| 2394 | + | |
| 2395 | + | |
| 2396 | + | |
| 2397 | + | |
| 2398 | + | |
| 2399 | + | |
| 2400 | + | |
| 2401 | + | |
| 2402 | + | |
| 2403 | + | |
| 2404 | + | |
2392 | 2405 |
| |
2393 | 2406 |
| |
2394 | 2407 |
| |
|
You can’t perform that action at this time.
0 commit comments