CARVIEW |
Select Language
HTTP/2 200
date: Fri, 18 Jul 2025 20:49:44 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/"bffa164991571f239aa6b4986feddbf7"
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=8L6xgpLlupH3iQ9qn0ldRyW%2BtsoVyN%2Fjs8qzdllhPieTBZ0ABugNecQ17WPxKTdqCHCxrmDaBQTPEK3FR%2BBaBOFvJNwAghMSCAY%2FTEayeFh6VKAStnWBzk2PwI6cUVSr6Hl7ZWxMy%2BpANIgCcQEGimuKrf3%2FWsEk1tcy%2FC780u81xA2XrjItmEhUYG8G1M%2F8RDvSVx%2FBudFrdtn21dedJyqK0HbkuPsSUmXplx9uBa07S%2FE%2ByRGHwjoSv5LwWkI6dnMrPQvgErvhEj5Gcx3Bzg%3D%3D--vE17Bd5Nwb4cEsZq--xu0nWzj5xYEwCEQYrY6DJQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.171943420.1752871782; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 20:49:42 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 20:49:42 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: EB16:10987:16AD84:1D76DB:687AB366
Use `missingType` in `--noUncheckedIndexedAccess` mode (#51653) · microsoft/TypeScript@d43112a · GitHub
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboardExpand all lines: tests/baselines/reference/noUncheckedIndexedAccess.errors.txt
Copy file name to clipboard
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit d43112a
authored
File tree
Expand file treeCollapse file tree
5 files changed
+234
-21
lines changedFilter options
- src/compiler
- tests
- baselines/reference
- cases/compiler
Expand file treeCollapse file tree
5 files changed
+234
-21
lines changed+24-21Lines changed: 24 additions & 21 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1813 | 1813 |
| |
1814 | 1814 |
| |
1815 | 1815 |
| |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
1816 | 1820 |
| |
1817 | 1821 |
| |
1818 | 1822 |
| |
| |||
1824 | 1828 |
| |
1825 | 1829 |
| |
1826 | 1830 |
| |
| 1831 | + | |
| 1832 | + | |
1827 | 1833 |
| |
1828 |
| - | |
1829 | 1834 |
| |
1830 | 1835 |
| |
1831 | 1836 |
| |
| |||
15952 | 15957 |
| |
15953 | 15958 |
| |
15954 | 15959 |
| |
15955 |
| - | |
15956 |
| - | |
15957 |
| - | |
15958 |
| - | |
| 15960 | + | |
| 15961 | + | |
| 15962 | + | |
| 15963 | + | |
15959 | 15964 |
| |
15960 | 15965 |
| |
15961 | 15966 |
| |
| |||
16096 | 16101 |
| |
16097 | 16102 |
| |
16098 | 16103 |
| |
16099 |
| - | |
| 16104 | + | |
16100 | 16105 |
| |
16101 | 16106 |
| |
16102 | 16107 |
| |
| |||
16320 | 16325 |
| |
16321 | 16326 |
| |
16322 | 16327 |
| |
16323 |
| - | |
| 16328 | + | |
16324 | 16329 |
| |
16325 |
| - | |
| 16330 | + | |
16326 | 16331 |
| |
16327 | 16332 |
| |
16328 | 16333 |
| |
| |||
16853 | 16858 |
| |
16854 | 16859 |
| |
16855 | 16860 |
| |
16856 |
| - | |
| 16861 | + | |
16857 | 16862 |
| |
16858 | 16863 |
| |
16859 | 16864 |
| |
| |||
16875 | 16880 |
| |
16876 | 16881 |
| |
16877 | 16882 |
| |
16878 |
| - | |
| 16883 | + | |
16879 | 16884 |
| |
16880 | 16885 |
| |
16881 | 16886 |
| |
| |||
16887 | 16892 |
| |
16888 | 16893 |
| |
16889 | 16894 |
| |
16890 |
| - | |
| 16895 | + | |
16891 | 16896 |
| |
16892 | 16897 |
| |
16893 | 16898 |
| |
| |||
20421 | 20426 |
| |
20422 | 20427 |
| |
20423 | 20428 |
| |
20424 |
| - | |
20425 |
| - | |
20426 | 20429 |
| |
20427 | 20430 |
| |
20428 | 20431 |
| |
| |||
22790 | 22793 |
| |
22791 | 22794 |
| |
22792 | 22795 |
| |
22793 |
| - | |
22794 |
| - | |
| 22796 | + | |
| 22797 | + | |
22795 | 22798 |
| |
22796 | 22799 |
| |
22797 | 22800 |
| |
| |||
22830 | 22833 |
| |
22831 | 22834 |
| |
22832 | 22835 |
| |
22833 |
| - | |
| 22836 | + | |
22834 | 22837 |
| |
22835 | 22838 |
| |
22836 | 22839 |
| |
| |||
22983 | 22986 |
| |
22984 | 22987 |
| |
22985 | 22988 |
| |
22986 |
| - | |
| 22989 | + | |
22987 | 22990 |
| |
22988 | 22991 |
| |
22989 | 22992 |
| |
| |||
24388 | 24391 |
| |
24389 | 24392 |
| |
24390 | 24393 |
| |
24391 |
| - | |
| 24394 | + | |
24392 | 24395 |
| |
24393 | 24396 |
| |
24394 | 24397 |
| |
| |||
25072 | 25075 |
| |
25073 | 25076 |
| |
25074 | 25077 |
| |
25075 |
| - | |
| 25078 | + | |
25076 | 25079 |
| |
25077 | 25080 |
| |
25078 | 25081 |
| |
| |||
29096 | 29099 |
| |
29097 | 29100 |
| |
29098 | 29101 |
| |
29099 |
| - | |
| 29102 | + | |
29100 | 29103 |
| |
29101 | 29104 |
| |
29102 | 29105 |
| |
| |||
30640 | 30643 |
| |
30641 | 30644 |
| |
30642 | 30645 |
| |
30643 |
| - | |
| 30646 | + | |
30644 | 30647 |
| |
30645 | 30648 |
| |
30646 | 30649 |
| |
|
tests/baselines/reference/inKeywordNarrowingWithNoUncheckedIndexedAccess.symbols
Copy file name to clipboard+75Lines changed: 75 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 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + |
tests/baselines/reference/inKeywordNarrowingWithNoUncheckedIndexedAccess.types
Copy file name to clipboard+96Lines changed: 96 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 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 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 | + | |
| 95 | + | |
| 96 | + |
tests/baselines/reference/noUncheckedIndexedAccess.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/noUncheckedIndexedAccess.errors.txt+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
| 4 | + | |
4 | 5 |
| |
5 | 6 |
| |
6 | 7 |
| |
| |||
54 | 55 |
| |
55 | 56 |
| |
56 | 57 |
| |
| 58 | + | |
57 | 59 |
| |
58 | 60 |
| |
59 | 61 |
| |
|
tests/cases/compiler/inKeywordNarrowingWithNoUncheckedIndexedAccess.ts
Copy file name to clipboard+37Lines changed: 37 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 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + |
You can’t perform that action at this time.
0 commit comments