Last active
July 26, 2026 05:23
-
-
Save up1/d7f0dc91d2ef649883c2533ddba637ae to your computer and use it in GitHub Desktop.
TypeScript 7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $npm install -g typescript | |
| $tsc -version | |
| Version 7.0.2 | |
| $npm install -g typescript@npm:@typescript/typescript6 | |
| $tsc6 -version | |
| Version 6.0.3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 1. Clone project | |
| $git clone git clone https://github.com/microsoft/vscode.git | |
| Cloning into 'vscode'... | |
| remote: Enumerating objects: 2257128, done. | |
| remote: Counting objects: 100% (551/551), done. | |
| remote: Compressing objects: 100% (350/350), done. | |
| Receiving objects: 88% (1986273/2257128), 1.16 GiB | 2.68 MiB/s | |
| // 2. ทำการ compile ด้วย TypeScript 6 | |
| $cd vscode/src | |
| $tsc6 -noemit -diagnostics | |
| Files: 7943 | |
| Lines: 2469395 | |
| Identifiers: 4235595 | |
| Symbols: 1506962 | |
| Types: 85 | |
| Instantiations: 0 | |
| Memory used: 3054793K | |
| I/O read: 1.33s | |
| I/O write: 0.00s | |
| Parse time: 6.21s | |
| Bind time: 2.47s | |
| Check time: 0.00s | |
| Emit time: 0.00s | |
| Total time: 8.68s | |
| // 3. ทำการ compile ด้วย TypeScript 7 | |
| $cd vscode/src | |
| $tsc -noemit -diagnostics | |
| Files: 7943 | |
| Lines: 2469408 | |
| Identifiers: 4235563 | |
| Symbols: 1508137 | |
| Types: 340 | |
| Instantiations: 0 | |
| Memory used: 1998024K | |
| Memory allocs: 6012925 | |
| Config time: 0.124s | |
| Parse time: 0.784s | |
| Bind time: 0.196s | |
| Emit time: 0.016s | |
| Total time: 1.148s | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment