CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 04:39:06 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/"7a380dd97f6eb778490083fd1eb738fb"
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=9jf4j88a5qLY5WOaf6O32V3XgYbR7X5gQARnOdcgmG5ZGrCNzNop5JR9FhXlzh%2Bd0kquQZ61ldjQXo62G3OzxcvzIwBPtuGBw8jvd%2FMSrUVtNZ%2FH8FZRN0vYO9PW616DWXcvAySfxNTSR1BX2%2Fb7MCr6p0%2BUpLkTct0JmbcDX13SRgsaQQRFg2k%2FrF5ynUr0ppgvS2LgNxt5pJRZbHJ9aD6cNGSOa9Kj4jmrb%2FOZJqQ2ydpMF%2BoZ0SQkiLOguNnk%2FosamZNhqSXHT41Kc06LTA%3D%3D--DxknqRwSspU%2BVzE6--Db0fLITFIaHYbLq3gtpo1w%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1606036571.1752899944; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 04:39:04 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 04:39:04 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E394:3991AB:B3A31:F6FAB:687B2168
Add showConfig tsc flag for debugging configs (#27353) · microsoft/TypeScript@a4a1bed · GitHub
Copy file name to clipboardExpand all lines: src/compiler/commandLineParser.ts
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json
Copy file name to clipboardExpand all lines: src/testRunner/tsconfig.json
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboard
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 a4a1bed
authored
Add showConfig tsc flag for debugging configs (#27353)
* Add showConfig tsc flag for debugging configs
* Merge showConfig implementation with init implementation, add basic unit tests
* Fix lint
* Add missing semicolon
* showConfig when theres no config file1 parent 3a2f7c0 commit a4a1bedCopy full SHA for a4a1bed
File tree
Expand file treeCollapse file tree
15 files changed
+233
-50
lines changedFilter options
- src
- compiler
- testRunner
- unittests
- tsc
- tests/baselines/reference/showConfig
- Default initialized TSConfig
- Show TSConfig with advanced options
- Show TSConfig with boolean value compiler options
- Show TSConfig with enum value compiler options
- Show TSConfig with files options
- Show TSConfig with incorrect compiler option value
- Show TSConfig with incorrect compiler option
- Show TSConfig with list compiler options with enum value
- Show TSConfig with list compiler options
Expand file treeCollapse file tree
15 files changed
+233
-50
lines changedsrc/compiler/commandLineParser.ts
Copy file name to clipboardExpand all lines: src/compiler/commandLineParser.ts+131-50Lines changed: 131 additions & 50 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
164 | 164 |
| |
165 | 165 |
| |
166 | 166 |
| |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
167 | 174 |
| |
168 | 175 |
| |
169 | 176 |
| |
| |||
1654 | 1661 |
| |
1655 | 1662 |
| |
1656 | 1663 |
| |
1657 |
| - | |
1658 |
| - | |
1659 |
| - | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
1660 | 1668 |
| |
1661 |
| - | |
1662 |
| - | |
1663 |
| - | |
1664 |
| - | |
1665 |
| - | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
1666 | 1706 |
| |
1667 |
| - | |
1668 |
| - | |
1669 |
| - | |
1670 |
| - | |
1671 |
| - | |
1672 |
| - | |
1673 |
| - | |
1674 |
| - | |
1675 |
| - | |
1676 |
| - | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
1677 | 1722 |
| |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
1678 | 1727 |
| |
| 1728 | + | |
| 1729 | + | |
1679 | 1730 |
| |
1680 |
| - | |
1681 |
| - | |
1682 |
| - | |
1683 |
| - | |
1684 |
| - | |
1685 |
| - | |
1686 |
| - | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
1687 | 1741 |
| |
| 1742 | + | |
1688 | 1743 |
| |
1689 |
| - | |
1690 |
| - | |
1691 |
| - | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
1692 | 1752 |
| |
1693 |
| - | |
1694 |
| - | |
1695 |
| - | |
1696 |
| - | |
1697 |
| - | |
1698 |
| - | |
1699 |
| - | |
1700 |
| - | |
1701 |
| - | |
1702 |
| - | |
1703 |
| - | |
1704 |
| - | |
1705 |
| - | |
1706 |
| - | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
1707 | 1776 |
| |
1708 | 1777 |
| |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
1709 | 1783 |
| |
1710 |
| - | |
1711 |
| - | |
1712 |
| - | |
1713 |
| - | |
1714 |
| - | |
1715 |
| - | |
1716 |
| - | |
| 1784 | + | |
| 1785 | + | |
1717 | 1786 |
| |
1718 | 1787 |
| |
1719 | 1788 |
| |
1720 | 1789 |
| |
1721 |
| - | |
1722 | 1790 |
| |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
| 1796 | + | |
| 1797 | + | |
| 1798 | + | |
| 1799 | + | |
| 1800 | + | |
| 1801 | + | |
| 1802 | + | |
| 1803 | + | |
1723 | 1804 |
| |
1724 | 1805 |
| |
1725 | 1806 |
| |
|
src/compiler/diagnosticMessages.json
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1007 | 1007 |
| |
1008 | 1008 |
| |
1009 | 1009 |
| |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
1010 | 1014 |
| |
1011 | 1015 |
| |
1012 | 1016 |
| |
|
+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4556 | 4556 |
| |
4557 | 4557 |
| |
4558 | 4558 |
| |
| 4559 | + | |
4559 | 4560 |
| |
4560 | 4561 |
| |
4561 | 4562 |
| |
|
src/testRunner/tsconfig.json
Copy file name to clipboardExpand all lines: src/testRunner/tsconfig.json+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
75 | 75 |
| |
76 | 76 |
| |
77 | 77 |
| |
| 78 | + | |
78 | 79 |
| |
79 | 80 |
| |
80 | 81 |
| |
|
src/testRunner/unittests/showConfig.ts
Copy file name to clipboard+34Lines changed: 34 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 | + |
+10Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
132 | 132 |
| |
133 | 133 |
| |
134 | 134 |
| |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
135 | 140 |
| |
136 | 141 |
| |
137 | 142 |
| |
| |||
142 | 147 |
| |
143 | 148 |
| |
144 | 149 |
| |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
145 | 155 |
| |
146 | 156 |
| |
147 | 157 |
| |
|
tests/baselines/reference/showConfig/Default initialized TSConfig/tsconfig.json
Copy file name to clipboard+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + |
tests/baselines/reference/showConfig/Show TSConfig with advanced options/tsconfig.json
Copy file name to clipboard+8Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + |
tests/baselines/reference/showConfig/Show TSConfig with boolean value compiler options/tsconfig.json
Copy file name to clipboard+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + |
tests/baselines/reference/showConfig/Show TSConfig with enum value compiler options/tsconfig.json
Copy file name to clipboard+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + |
You can’t perform that action at this time.
0 commit comments