CARVIEW |
Select Language
HTTP/2 200
date: Fri, 18 Jul 2025 20:55:13 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/"6d6f6d2946d7518a93960c4128335a53"
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=00qCKV3VihzEMpfGU2HrJUBrAmsAvkxcTLKutkzQLTlr%2FobzqQbrvucFImY%2FbBRjhJU0WV32HAJkR3Prbl910ZDpsfu2%2BOh84GC5%2FgY9tAC%2Ftk%2FlgWG8BX0JxSI1EM162Z39vxI8lZAAhXs4j7k2X4fu79rofWoleVPB82fLpZD91TcnvRRSUytNzJ%2BkmgeFuJzVX9V5MhlEXqSsXeewOZ3bbzL0lapVyG4OSDFDGEMHvVwP0z5m75unm%2B1VHc3ttVLJeWzAc34n3yIWBrE1tA%3D%3D--UjTIbwWk2Yu5on%2F2--ZW60CkUgDJwjzq6HKcqSQQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.76628268.1752872112; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 20:55:12 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 20:55:12 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E584:26CB0:1707AE:1DFEF6:687AB4B0
Add completions from the 'this' type (#21231) · microsoft/TypeScript@8ed885d · GitHub
Copy file name to clipboardExpand all lines: src/services/completions.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/completionListInScope.ts
Copy file name to clipboard
Copy file name to clipboardExpand all lines: tests/cases/fourslash/fourslash.ts
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit 8ed885d
File tree
Expand file treeCollapse file tree
7 files changed
+93
-25
lines changedFilter options
- src
- compiler
- harness
- services
- tests/cases/fourslash
Expand file treeCollapse file tree
7 files changed
+93
-25
lines changed+14-6Lines changed: 14 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
295 | 295 |
| |
296 | 296 |
| |
297 | 297 |
| |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
298 | 302 |
| |
299 | 303 |
| |
300 | 304 |
| |
| |||
13268 | 13272 |
| |
13269 | 13273 |
| |
13270 | 13274 |
| |
| 13275 | + | |
| 13276 | + | |
| 13277 | + | |
| 13278 | + | |
| 13279 | + | |
| 13280 | + | |
| 13281 | + | |
| 13282 | + | |
| 13283 | + | |
| 13284 | + | |
13271 | 13285 |
| |
13272 | 13286 |
| |
13273 | 13287 |
| |
| |||
13306 | 13320 |
| |
13307 | 13321 |
| |
13308 | 13322 |
| |
13309 |
| - | |
13310 |
| - | |
13311 |
| - | |
13312 |
| - | |
13313 |
| - | |
13314 |
| - | |
13315 | 13323 |
| |
13316 | 13324 |
| |
13317 | 13325 |
| |
|
+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2921 | 2921 |
| |
2922 | 2922 |
| |
2923 | 2923 |
| |
| 2924 | + | |
| 2925 | + | |
2924 | 2926 |
| |
2925 | 2927 |
| |
2926 | 2928 |
| |
|
+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3152 | 3152 |
| |
3153 | 3153 |
| |
3154 | 3154 |
| |
3155 |
| - | |
| 3155 | + | |
3156 | 3156 |
| |
| 3157 | + | |
3157 | 3158 |
| |
3158 | 3159 |
| |
3159 | 3160 |
| |
| |||
4615 | 4616 |
| |
4616 | 4617 |
| |
4617 | 4618 |
| |
| 4619 | + | |
4618 | 4620 |
| |
4619 | 4621 |
| |
4620 | 4622 |
| |
|
src/services/completions.ts
Copy file name to clipboardExpand all lines: src/services/completions.ts+36-15Lines changed: 36 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
8 | 10 |
| |
9 | 11 |
| |
10 | 12 |
| |
| |||
170 | 172 |
| |
171 | 173 |
| |
172 | 174 |
| |
173 |
| - | |
174 | 175 |
| |
175 | 176 |
| |
176 | 177 |
| |
177 | 178 |
| |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
178 | 190 |
| |
179 | 191 |
| |
180 | 192 |
| |
| |||
189 | 201 |
| |
190 | 202 |
| |
191 | 203 |
| |
192 |
| - | |
193 |
| - | |
194 |
| - | |
195 |
| - | |
196 |
| - | |
197 |
| - | |
| 204 | + | |
198 | 205 |
| |
| 206 | + | |
| 207 | + | |
199 | 208 |
| |
200 | 209 |
| |
201 | 210 |
| |
| |||
210 | 219 |
| |
211 | 220 |
| |
212 | 221 |
| |
213 |
| - | |
| 222 | + | |
214 | 223 |
| |
215 | 224 |
| |
216 | 225 |
| |
| |||
504 | 513 |
| |
505 | 514 |
| |
506 | 515 |
| |
507 |
| - | |
| 516 | + | |
508 | 517 |
| |
509 | 518 |
| |
510 | 519 |
| |
| |||
590 | 599 |
| |
591 | 600 |
| |
592 | 601 |
| |
593 |
| - | |
| 602 | + | |
594 | 603 |
| |
595 | 604 |
| |
596 | 605 |
| |
597 | 606 |
| |
598 | 607 |
| |
599 |
| - | |
| 608 | + | |
600 | 609 |
| |
601 | 610 |
| |
602 | 611 |
| |
| |||
1117 | 1126 |
| |
1118 | 1127 |
| |
1119 | 1128 |
| |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
1120 | 1141 |
| |
1121 | 1142 |
| |
1122 | 1143 |
| |
| |||
1230 | 1251 |
| |
1231 | 1252 |
| |
1232 | 1253 |
| |
1233 |
| - | |
| 1254 | + | |
1234 | 1255 |
| |
1235 | 1256 |
| |
1236 |
| - | |
| 1257 | + | |
1237 | 1258 |
| |
1238 | 1259 |
| |
1239 | 1260 |
| |
| |||
2072 | 2093 |
| |
2073 | 2094 |
| |
2074 | 2095 |
| |
2075 |
| - | |
2076 | 2096 |
| |
2077 | 2097 |
| |
2078 | 2098 |
| |
2079 | 2099 |
| |
2080 | 2100 |
| |
2081 | 2101 |
| |
| 2102 | + | |
2082 | 2103 |
| |
2083 | 2104 |
| |
2084 | 2105 |
| |
|
tests/cases/fourslash/completionListInScope.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/completionListInScope.ts+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
| 41 | + | |
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
|
tests/cases/fourslash/completionsThisType.ts
Copy file name to clipboard+29Lines changed: 29 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 | + |
tests/cases/fourslash/fourslash.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/fourslash.ts+7-1Lines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
151 | 151 |
| |
152 | 152 |
| |
153 | 153 |
| |
154 |
| - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
155 | 161 |
| |
156 | 162 |
| |
157 | 163 |
| |
|
You can’t perform that action at this time.
0 commit comments