CARVIEW |
Select Language
HTTP/2 200
date: Fri, 18 Jul 2025 20:57:18 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/"0b285e915c4a8c704ccffe84be0c8942"
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=FOi3mGOauGNm%2F1%2FZoxz9wGu0Q3kMboYBnOmdUndKvMamSyqESLN1m7vNajp8pI%2B8c5dHtLJtgrmAkqL0x6v8R%2FMQx1p8U2e1RAjf6ako3CzPJaCd6AOXQqZYbfApPsVyCeMH3YvzSqyzgdh9yckQcG981vquHXmKsV9aVf54Fy2Zi6abeOwTP1Ppgj4Ap%2BIcafo0F0gJuS10NNKSoauMLOCDZJoZ%2FwsK2Y8wYLBzcmPrvxa4c0HWYWUZlP46GrSp5WI7PyVCDIDzhElkN7cc5w%3D%3D--tC4tYvbO5M55ZEHO--Nrh7KJIkspJC69pWu4JYRQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.463717757.1752872236; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 20:57:16 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 20:57:16 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BECE:79D16:178C8B:1E9477:687AB52C
noImplicitAny as suggestion (#27693) · microsoft/TypeScript@ec0e8cb · GitHub
Copy file name to clipboardExpand all lines: src/testRunner/unittests/tsserverProjectSystem.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/annotateWithTypeFromJSDoc1.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/annotateWithTypeFromJSDoc3.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/codeFixUnusedIdentifier_suggestion.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/noSuggestionDiagnosticsOnParseError.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/refactorConvertToEs6Module_export_named.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/unusedLocalsInFunction2.ts
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit ec0e8cb
authored
noImplicitAny as suggestion (#27693)
* noImplicitAny as suggestion
Note that not all noImplicitAny errors turn into suggestions. In
particular,
1. reportErrorsFromWidening does not, because it doesn't log an error
that infer-from-usage fixes, and fixing it would require
otherwise-unnecessary code.
2. auto types do not have implicit any suggestions, because that would
require running control flow in noImplicitAny mode.
* Rename reportImplicitAny+forbid it for non-checkJS
In JS, you only get implicit any errors/suggestions with checkJS or
ts-check turned on.
* Update baselines
* Use isCheckJsEnabledForFile
* Remove noImplicitAny parameter since it's in scope already1 parent 99b2718 commit ec0e8cbCopy full SHA for ec0e8cb
File tree
Expand file treeCollapse file tree
8 files changed
+61
-49
lines changedFilter options
- src
- compiler
- testRunner/unittests
- tests/cases/fourslash
Expand file treeCollapse file tree
8 files changed
+61
-49
lines changed+29-33Lines changed: 29 additions & 33 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4915 | 4915 |
| |
4916 | 4916 |
| |
4917 | 4917 |
| |
4918 |
| - | |
4919 |
| - | |
4920 |
| - | |
| 4918 | + | |
4921 | 4919 |
| |
4922 | 4920 |
| |
4923 | 4921 |
| |
| |||
4992 | 4990 |
| |
4993 | 4991 |
| |
4994 | 4992 |
| |
4995 |
| - | |
4996 |
| - | |
4997 |
| - | |
| 4993 | + | |
4998 | 4994 |
| |
4999 | 4995 |
| |
5000 | 4996 |
| |
| |||
5044 | 5040 |
| |
5045 | 5041 |
| |
5046 | 5042 |
| |
5047 |
| - | |
5048 |
| - | |
| 5043 | + | |
| 5044 | + | |
5049 | 5045 |
| |
5050 | 5046 |
| |
5051 | 5047 |
| |
| |||
5145 | 5141 |
| |
5146 | 5142 |
| |
5147 | 5143 |
| |
5148 |
| - | |
| 5144 | + | |
5149 | 5145 |
| |
5150 |
| - | |
| 5146 | + | |
5151 | 5147 |
| |
5152 | 5148 |
| |
5153 | 5149 |
| |
| |||
5328 | 5324 |
| |
5329 | 5325 |
| |
5330 | 5326 |
| |
5331 |
| - | |
5332 |
| - | |
5333 |
| - | |
5334 |
| - | |
5335 |
| - | |
5336 |
| - | |
5337 |
| - | |
5338 |
| - | |
| 5327 | + | |
| 5328 | + | |
| 5329 | + | |
| 5330 | + | |
| 5331 | + | |
| 5332 | + | |
5339 | 5333 |
| |
5340 | 5334 |
| |
5341 | 5335 |
| |
| |||
13282 | 13276 |
| |
13283 | 13277 |
| |
13284 | 13278 |
| |
13285 |
| - | |
| 13279 | + | |
13286 | 13280 |
| |
| 13281 | + | |
| 13282 | + | |
| 13283 | + | |
| 13284 | + | |
13287 | 13285 |
| |
13288 | 13286 |
| |
13289 | 13287 |
| |
| |||
13306 | 13304 |
| |
13307 | 13305 |
| |
13308 | 13306 |
| |
13309 |
| - | |
| 13307 | + | |
13310 | 13308 |
| |
13311 | 13309 |
| |
13312 | 13310 |
| |
13313 | 13311 |
| |
13314 | 13312 |
| |
13315 | 13313 |
| |
13316 |
| - | |
| 13314 | + | |
| 13315 | + | |
| 13316 | + | |
13317 | 13317 |
| |
13318 | 13318 |
| |
13319 | 13319 |
| |
13320 | 13320 |
| |
13321 |
| - | |
| 13321 | + | |
13322 | 13322 |
| |
13323 | 13323 |
| |
13324 | 13324 |
| |
13325 | 13325 |
| |
13326 | 13326 |
| |
13327 | 13327 |
| |
13328 |
| - | |
| 13328 | + | |
13329 | 13329 |
| |
13330 | 13330 |
| |
13331 | 13331 |
| |
| |||
22319 | 22319 |
| |
22320 | 22320 |
| |
22321 | 22321 |
| |
22322 |
| - | |
22323 |
| - | |
22324 |
| - | |
| 22322 | + | |
22325 | 22323 |
| |
22326 | 22324 |
| |
22327 | 22325 |
| |
22328 |
| - | |
22329 |
| - | |
22330 |
| - | |
| 22326 | + | |
22331 | 22327 |
| |
22332 | 22328 |
| |
22333 | 22329 |
| |
| |||
23318 | 23314 |
| |
23319 | 23315 |
| |
23320 | 23316 |
| |
23321 |
| - | |
23322 |
| - | |
| 23317 | + | |
| 23318 | + | |
23323 | 23319 |
| |
23324 | 23320 |
| |
23325 | 23321 |
| |
| |||
24343 | 24339 |
| |
24344 | 24340 |
| |
24345 | 24341 |
| |
24346 |
| - | |
24347 |
| - | |
| 24342 | + | |
| 24343 | + | |
24348 | 24344 |
| |
24349 | 24345 |
| |
24350 | 24346 |
| |
|
src/testRunner/unittests/tsserverProjectSystem.ts
Copy file name to clipboardExpand all lines: src/testRunner/unittests/tsserverProjectSystem.ts+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4981 | 4981 |
| |
4982 | 4982 |
| |
4983 | 4983 |
| |
4984 |
| - | |
| 4984 | + | |
4985 | 4985 |
| |
4986 | 4986 |
| |
4987 | 4987 |
| |
|
tests/cases/fourslash/annotateWithTypeFromJSDoc1.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/annotateWithTypeFromJSDoc1.ts+3-4Lines changed: 3 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
8 |
| - | |
9 |
| - | |
10 |
| - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
11 | 10 |
| |
12 | 11 |
| |
13 | 12 |
| |
|
tests/cases/fourslash/annotateWithTypeFromJSDoc3.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/annotateWithTypeFromJSDoc3.ts+8-5Lines changed: 8 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
14 |
| - | |
15 |
| - | |
16 |
| - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 |
| |
18 | 21 |
| |
19 | 22 |
| |
|
tests/cases/fourslash/codeFixUnusedIdentifier_suggestion.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/codeFixUnusedIdentifier_suggestion.ts+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
9 | 14 |
| |
10 | 15 |
| |
11 | 16 |
| |
|
tests/cases/fourslash/noSuggestionDiagnosticsOnParseError.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/noSuggestionDiagnosticsOnParseError.ts+10-1Lines changed: 10 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + |
tests/cases/fourslash/refactorConvertToEs6Module_export_named.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/refactorConvertToEs6Module_export_named.ts+4-4Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
|
tests/cases/fourslash/unusedLocalsInFunction2.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/unusedLocalsInFunction2.ts+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + |
You can’t perform that action at this time.
0 commit comments