CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 06:03:24 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/"f7151ee2816b7220a0fe0efd1b5dd103"
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=CxP%2BZuSznaZ4KiOPj6YMxZrcqsiAdK3xgIaYeL%2BDySH06Jbo9OmhahPEM%2BGEZ84R2BjDwiHEDWc859GwlUe40xbvuNtTYe21Lu7T8OBTasQmfRYjT45m0HQ%2FcyACUsqggTlnqLxhThGqh0rPj2MVBWAsVyqvuFOv1hlyjjvTWNtrxKQLbs66dNsineVjLWiW40cbrqHKWlkWD2svX6jnxlSA9K6Cs7pD2kpeZjT4B%2BBxSXRV%2FuywG6lQt0jM2l9yJj%2FxUBEsMMdd%2FrqtGcqJzQ%3D%3D--4QCk%2Bt4uaY%2BqlvZW--pl02DEr13akKipR8hXLa2Q%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.736870891.1752905002; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 06:03:22 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 06:03:22 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9454:3DC509:15BD6E:1C9975:687B352A
When --noUnusedLocals/--noUnusedParameters is disabled, add suggestio… · microsoft/TypeScript@24842b4 · GitHub
authoredDismiss banner
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json
Copy file name to clipboardExpand all lines: src/harness/unittests/matchFiles.ts
Copy file name to clipboardExpand all lines: src/harness/unittests/tsserverProjectSystem.ts
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit 24842b4

Andy
When --noUnusedLocals/--noUnusedParameters is disabled, add suggestions instead of errors (#22361)
* When --noUnusedLocals/--noUnusedParameters is disabled, add suggestions instead of errors
* Improve performance: do not add unused suggestion diagnostics unless asking for a suggestion
* Add "unused" flag to diagnostics
* Code review
* reportsUnused -> reportsUnnecessary
* Fix test1 parent f61f126 commit 24842b4Copy full SHA for 24842b4
File tree
Expand file treeCollapse file tree
67 files changed
+335
-200
lines changedFilter options
- src
- compiler
- harness
- unittests
- server
- services
- tests
- baselines/reference/api
- cases/fourslash
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
67 files changed
+335
-200
lines changed+151-121Lines changed: 151 additions & 121 deletions
Large diffs are not rendered by default.
+4-2Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1606 | 1606 |
| |
1607 | 1607 |
| |
1608 | 1608 |
| |
| 1609 | + | |
1609 | 1610 |
| |
1610 | 1611 |
| |
1611 | 1612 |
| |
| |||
1635 | 1636 |
| |
1636 | 1637 |
| |
1637 | 1638 |
| |
1638 |
| - | |
| 1639 | + | |
| 1640 | + | |
1639 | 1641 |
| |
1640 | 1642 |
| |
1641 | 1643 |
| |
| |||
1647 | 1649 |
| |
1648 | 1650 |
| |
1649 | 1651 |
| |
1650 |
| - | |
| 1652 | + | |
1651 | 1653 |
| |
1652 | 1654 |
| |
1653 | 1655 |
| |
|
src/compiler/diagnosticMessages.json
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json+8-4Lines changed: 8 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3282 | 3282 |
| |
3283 | 3283 |
| |
3284 | 3284 |
| |
3285 |
| - | |
| 3285 | + | |
| 3286 | + | |
3286 | 3287 |
| |
3287 | 3288 |
| |
3288 | 3289 |
| |
| |||
3302 | 3303 |
| |
3303 | 3304 |
| |
3304 | 3305 |
| |
3305 |
| - | |
| 3306 | + | |
| 3307 | + | |
3306 | 3308 |
| |
3307 | 3309 |
| |
3308 | 3310 |
| |
| |||
3514 | 3516 |
| |
3515 | 3517 |
| |
3516 | 3518 |
| |
3517 |
| - | |
| 3519 | + | |
| 3520 | + | |
3518 | 3521 |
| |
3519 | 3522 |
| |
3520 | 3523 |
| |
| |||
3602 | 3605 |
| |
3603 | 3606 |
| |
3604 | 3607 |
| |
3605 |
| - | |
| 3608 | + | |
| 3609 | + | |
3606 | 3610 |
| |
3607 | 3611 |
| |
3608 | 3612 |
| |
|
+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4069 | 4069 |
| |
4070 | 4070 |
| |
4071 | 4071 |
| |
| 4072 | + | |
4072 | 4073 |
| |
4073 | 4074 |
| |
4074 | 4075 |
| |
| |||
4090 | 4091 |
| |
4091 | 4092 |
| |
4092 | 4093 |
| |
| 4094 | + | |
| 4095 | + | |
4093 | 4096 |
| |
4094 | 4097 |
| |
4095 | 4098 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2577 | 2577 |
| |
2578 | 2578 |
| |
2579 | 2579 |
| |
2580 |
| - | |
| 2580 | + | |
2581 | 2581 |
| |
2582 | 2582 |
| |
2583 | 2583 |
| |
|
src/harness/unittests/matchFiles.ts
Copy file name to clipboardExpand all lines: src/harness/unittests/matchFiles.ts+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
123 | 123 |
| |
124 | 124 |
| |
125 | 125 |
| |
126 |
| - | |
| 126 | + | |
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
130 | 130 |
| |
131 | 131 |
| |
132 | 132 |
| |
| 133 | + | |
133 | 134 |
| |
134 | 135 |
| |
135 | 136 |
| |
|
src/harness/unittests/tsserverProjectSystem.ts
Copy file name to clipboardExpand all lines: src/harness/unittests/tsserverProjectSystem.ts+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4068 | 4068 |
| |
4069 | 4069 |
| |
4070 | 4070 |
| |
4071 |
| - | |
| 4071 | + | |
4072 | 4072 |
| |
4073 | 4073 |
| |
4074 | 4074 |
| |
|
+4-3Lines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
353 | 353 |
| |
354 | 354 |
| |
355 | 355 |
| |
356 |
| - | |
| 356 | + | |
357 | 357 |
| |
358 | 358 |
| |
359 | 359 |
| |
360 |
| - | |
| 360 | + | |
361 | 361 |
| |
362 | 362 |
| |
363 | 363 |
| |
| |||
366 | 366 |
| |
367 | 367 |
| |
368 | 368 |
| |
369 |
| - | |
| 369 | + | |
| 370 | + | |
370 | 371 |
| |
371 | 372 |
| |
372 | 373 |
| |
|
+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
455 | 455 |
| |
456 | 456 |
| |
457 | 457 |
| |
| 458 | + | |
| 459 | + | |
458 | 460 |
| |
459 | 461 |
| |
460 | 462 |
| |
|
+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
588 | 588 |
| |
589 | 589 |
| |
590 | 590 |
| |
| 591 | + | |
591 | 592 |
| |
592 | 593 |
| |
593 | 594 |
| |
|
You can’t perform that action at this time.
0 commit comments