Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1658 commits
Select commit Hold shift + click to select a range
5b0759c
Run newer deploy weekly, remove broken workflow (#3040)
jakebailey Mar 8, 2024
0c1bcac
Fix title indentations in TypeScript 4.5.md (#3029)
escudero89 Mar 12, 2024
ac7164d
A type argument should be passed (#3006)
DamanjeetSingh1 Mar 13, 2024
78c27a0
Quick styling change for consistency on "More on Functions.md" (#3043)
shahabrostami Mar 18, 2024
360e9d4
Add Terms of Use link (#3046)
DanielRosenwasser Mar 21, 2024
e6d83d9
Fix nesting.
DanielRosenwasser Mar 21, 2024
868a732
Fix casing typo (#3047)
KnorpelSenf Mar 25, 2024
d4a82e3
Fix plural error in Narrowing.md (#3049)
henrebotha Mar 27, 2024
c2b124d
fix/ Update listFiles to listEmittedFiles in listEmittedFiles.md (#3051)
LeviEyal Mar 29, 2024
11b3f36
Adding 5.4 release notes (#3054)
navya9singh Apr 9, 2024
d5c9ec0
Document NoInfer (#3053)
xuhdev Apr 9, 2024
85f76ac
Fixes a typo in esm-csj-interop.md (#3056)
diegormb06 Apr 11, 2024
bd5fc05
Rewrite preview environment to use new artifact system (#3057)
jakebailey Apr 11, 2024
079da11
Grant preview deploy permission to comment (#3058)
jakebailey Apr 11, 2024
10ac61f
Re-grant read access to GHA (#3059)
jakebailey Apr 11, 2024
80e8165
Fix typo in preview workflow
jakebailey Apr 12, 2024
d110ef7
Let NoInfer link to the handbook version of release notes (#3055)
xuhdev Apr 12, 2024
425cc81
Update module docs for 5.4 changes (#3063)
andrewbranch Apr 18, 2024
5de6878
docs(jsdoc): remove `const` and `inheritDoc` from unsupported tags (#…
KisaragiEffective Apr 20, 2024
7f1c6e0
Add Boston TypeScript Club meetup (#3065)
JoshuaKGoldberg Apr 23, 2024
12fb7e9
Update default for newline (#3074)
bakkot Apr 24, 2024
0c0728d
Close quotation marks. (#3070)
udohjeremiah Apr 24, 2024
cafe41d
Removing app insights (#3073)
navya9singh Apr 24, 2024
70d0b54
Remove husky (#3075)
jakebailey Apr 24, 2024
44833d7
Update to Node 18 & gatsby 5 (#2717)
orta Apr 24, 2024
7f60304
Deploy to github pages (#3077)
navya9singh Apr 24, 2024
7adbdaa
Fixing indentation for github pages deploment (#3078)
navya9singh Apr 24, 2024
ef64e46
Don't crash when dts output not present in playground (#3083)
jakebailey Apr 25, 2024
a5c9c01
Force dts emit (#3084)
jakebailey Apr 25, 2024
eaa8205
Add tip about avoiding default exports in CJS libraries (#3085)
andrewbranch Apr 25, 2024
c37f1c6
Move preview to new deployment, pin dependencies, misc cleanup (#3091)
jakebailey May 8, 2024
d82e06d
Bump the github-actions group with 3 updates (#3092)
dependabot[bot] May 8, 2024
e1b2f7f
Print out more info in preview workflow to aid debugging (#3102)
jakebailey May 16, 2024
3415bd5
Fix previews for post-build events (#3103)
jakebailey May 16, 2024
dc4ecf5
Remove old preview site comments on new comment (#3104)
jakebailey May 16, 2024
7832b6a
Use single job to track CI status (#3106)
jakebailey May 20, 2024
f4074d9
Always deploy preview if site artifact is present (#3108)
jakebailey May 20, 2024
46eba14
Migrate to pnpm and changesets (#3079)
jakebailey May 21, 2024
bbb7542
Fix publish workflow (#3115)
jakebailey May 21, 2024
1f29d83
Fix up existing changelog format (#3117)
jakebailey May 21, 2024
ba53ae7
Describe legacy JSDoc type synonyms (#3107)
sandersn May 21, 2024
d019aba
Fix preview site getting cancelled, deploying on closed PRs (#3120)
jakebailey May 22, 2024
2c94bbd
Fix bot token for changeset PR sending (#3121)
jakebailey May 22, 2024
6728383
Fix type-only import link to point to the reference document (#3118)
pcdevil May 22, 2024
af4176b
Don't throw in deploy-preview on not found PR (#3114)
jakebailey May 22, 2024
880d491
Disable playground plugin script in bootstrap (#3122)
jakebailey May 23, 2024
5bcbb1b
Adding back app insights (#3093)
navya9singh May 23, 2024
57c4cdf
Replace node-fetch and axios with native fetch (#3123)
jakebailey May 24, 2024
c2c4ed9
Fix preview site oops, should not be conditional (#3125)
jakebailey May 24, 2024
4e0d4e5
Bump the github-actions group across 1 directory with 2 updates (#3109)
dependabot[bot] May 24, 2024
0ac376b
Bump changesets package with private package fixes (#3127)
jakebailey May 28, 2024
2d57f9d
Version Packages (#3116)
May 30, 2024
51ceccf
Pass publish-branch v2 to pnpm (#3129)
jakebailey May 30, 2024
b98589d
More publishing fixes (#3131)
jakebailey May 30, 2024
b610190
Log artifacts in preview workflow (#3130)
jakebailey May 30, 2024
f104f23
typo fix (#3098)
hanyujie2002 Jun 2, 2024
e685ea8
fix typos in 5.4 changelog (#3061)
spidersouris Jun 2, 2024
fc591ce
Fix typos in "TS for OOPers.md" (#2967)
luketzh Jun 2, 2024
24500d5
Fix generic parameter defaults section in Generics.md (#2986)
psmolak Jun 2, 2024
bc7889d
Log with infinite depth in preview (#3134)
jakebailey Jun 3, 2024
fb8ea17
Fix preview deploy on label, broken due to bad copy paste
jakebailey Jun 3, 2024
642ea11
Change URL of playground build CDN (#3095)
jakebailey Jun 3, 2024
06e6dd4
Version Packages (#3137)
Jun 3, 2024
fd9760a
Fix typo (#3080)
udohjeremiah Jun 4, 2024
a656d40
Fix link to cheat sheet zip (#3138)
jakebailey Jun 4, 2024
7691811
Allow v5 as peerDependency in ata package (#2977)
curran Jun 4, 2024
26f3e56
Don't depend on DOM types in createDefaultMapFromCDN (#3140)
jakebailey Jun 4, 2024
71776ae
fix: support `.d.mts` and `.d.cts` (#3000)
antfu Jun 4, 2024
6168ef4
fix(vfs): support non-hoisted node_module structure (#3015)
antfu Jun 4, 2024
fd776c0
fix: ata return type (#3002)
antfu Jun 4, 2024
0594671
fix: small design issue for "get started" card and "headline diagram"…
imhalid Jun 5, 2024
ad59dbe
Use @changesets/changelog-github (#3142)
jakebailey Jun 5, 2024
9f8dea2
Fix missing typescript peer dependency package.json (#3072)
KiranJKurian Jun 5, 2024
0ea84b5
Fix two issues in the `typescript/vfs` module. (#3038)
xiaoxiyao Jun 5, 2024
c9c2c66
Update Reference.md (#3005)
zhennann Jun 5, 2024
595fe80
Update Object Types.md (#3004)
oh2o Jun 5, 2024
d6d126c
Fix typo in TypeScript 2.8.md (#2999)
mass2527 Jun 5, 2024
736030a
Update TypeScript 5.3.md (#2990)
eliranlevi Jun 5, 2024
bfb5f23
Make an example more illustrative in Generics.md (#2988)
grebenyuksv Jun 5, 2024
d397d33
Swap CatName and CatInfo definitions in Record example (#3010)
DanKaplanSES Jun 5, 2024
e239023
Improve first Example of "The satisfies Operator" in TS 4.9 r notes (…
mariusgau Jun 5, 2024
043f233
Update JSDoc Reference.md (#2993)
LqdBcnAtWork Jun 5, 2024
12879d1
Use explicit file types for module examples (#3052)
shanefontaine Jun 5, 2024
fe2e474
for differences between interfaces and type aliases, add note about c…
btoo Jun 5, 2024
ed73d81
Fix sidebar header tree creation (#3021)
oddmj Jun 5, 2024
6c13455
Fix the expanded main content header's style for better UX (#3031)
Ahmed-Hakeem Jun 5, 2024
76dcafa
De-any: Refactor example to eliminate usage of 'any' (#3096)
foxcaulfield Jun 5, 2024
f5d04b2
Classes.md: Update description for getter and setter member visibilit…
foxcaulfield Jun 5, 2024
69d9eea
Fix: Remove irrelevant errors from example (#3144)
foxcaulfield Jun 5, 2024
fb87ad9
Version Packages (#3141)
Jun 5, 2024
c05a65e
Clarify changesets in README (#3146)
jakebailey Jun 6, 2024
5a1a8cf
chore: update deprecated url (#3145)
rcanpahali Jun 6, 2024
618269a
Fix typo in TypeScript 4.9.md (#3150)
Brennvo Jun 10, 2024
7cdd061
fix: ui overlap between dropdown and sticky-widget (#3147)
SaeWooKKang Jun 11, 2024
7cf9aa0
Cleanup "ts=Nightly", aka "ts=next" (#3156)
rotu Jun 12, 2024
1eb0175
Update Type Compatibility.md (#3157)
ComplexPlane Jun 14, 2024
8e87284
5.5 release notes (#3163)
navya9singh Jun 21, 2024
a6882d5
5.5 stable updates
DanielRosenwasser Jun 22, 2024
26343c8
Fix: Resolve layout shrink issue of Monaco editor on handbook toggle …
SaeWooKKang Jun 24, 2024
c341935
Fix: Resolving Command Errors due to Package Manager Changes (#3166)
SaeWooKKang Jun 26, 2024
309e3e3
Fix: Playground handle bigint in logs (#3169)
lukaw3d Jun 28, 2024
8417ff5
Update `compilerOptions.jsx` to reflect latest preferences (#2994)
eps1lon Jul 8, 2024
57ac2f7
Update JSX documentation (#3064)
remcohaszing Jul 8, 2024
23cec9e
Fixed broken link in playground examples : this.ts (#3174)
Ptitet Jul 8, 2024
b5d65fb
Bump to 5.5 and update compiler options (#3175)
jakebailey Jul 8, 2024
441338c
`Host` uses `getDirectories` from `System` (#3165)
edemaine Jul 8, 2024
725841a
Adds VFS deleteFile method (#3173)
marklundin Jul 8, 2024
4503af7
Bump the github-actions group across 1 directory with 4 updates (#3177)
dependabot[bot] Jul 8, 2024
a60c8bc
tsconfig reference documents isolatedModules conditional activation (…
daniele-orlando Jul 10, 2024
f2325b1
Fix incorrect link to issue (#3181)
seanf Jul 11, 2024
b9b0500
Make "Declaring `this` in a Function" level 2 heading. (#3184)
JJLovesLife Jul 17, 2024
ec2bf88
Version Packages (#3176)
Jul 17, 2024
8f25f4f
Fix search box on preview sites (#3148)
jakebailey Jul 18, 2024
47d664a
Explanation on how TypeScript handles conflicts between interfaces an…
merintheressa Jul 18, 2024
251ab25
feat(docs): add docs for `ES2023` option for `lib` (#3185)
todor-a Jul 22, 2024
ce2f2e9
Bump the github-actions group across 1 directory with 2 updates (#3194)
dependabot[bot] Jul 30, 2024
1d0af97
ATA: `node:` module resolution (#3191)
Renegade334 Jul 30, 2024
9ef7fcd
Version Packages (#3195)
Aug 2, 2024
e28e9aa
Bump the github-actions group across 1 directory with 2 updates (#3200)
dependabot[bot] Aug 13, 2024
86a5883
Fix: Algolia search not working when directly entering the `/play` pa…
SaeWooKKang Aug 15, 2024
ac68b8b
Bump github/codeql-action from 3.26.0 to 3.26.3 in the github-actions…
dependabot[bot] Aug 19, 2024
a0f9636
Update for TS 5.6 (#3221)
jakebailey Sep 9, 2024
9622166
Remove mentions of ES3 from docs (#3222)
jakebailey Sep 9, 2024
17e8348
Expand out docs for noUncheckedSideEffectImports (#3223)
jakebailey Sep 10, 2024
bf1e2a6
Document variance annotations and their limitations (#3218)
RyanCavanaugh Sep 10, 2024
f131d43
Update Generics.md (#3234)
PanosMagic32 Sep 25, 2024
3ff5747
Bind `console.info` in playground (#3219)
spenserblack Sep 27, 2024
212a05f
Fix: Prev Next Link incorrectly linking to "Nightly Builds" page by d…
anantoghosh Sep 27, 2024
aec0693
Update documentation in Project References (#3228)
styfle Sep 27, 2024
d1fdf1b
Fixing accessibility bug (#3235)
navya9singh Sep 27, 2024
1cb9f4e
Fixing accessibility bug (#3237)
navya9singh Sep 27, 2024
742e8ca
Remove comparisons to other languages from the cross-hierarchy protec…
keliss Sep 27, 2024
89a0643
Fixing accessibility bug (#3236)
navya9singh Sep 30, 2024
b9b1c12
Fix typo in TypeScript 2.2.md (#3033)
eugeneilyin Sep 30, 2024
49d9db7
Fix type on JSX docs (#3232)
titoBouzout Sep 30, 2024
975e51c
Bump the github-actions group across 1 directory with 5 updates (#3238)
dependabot[bot] Oct 1, 2024
f297fd2
Fix a link in the Playground examples README (#3199)
kashav Oct 1, 2024
62bc6ab
Improve wording within TS for JS Programmers.md (#3189)
jonathanberger Oct 1, 2024
2eb3d80
Fix monaco-editor links in sandbox page (#3210)
taro-28 Oct 1, 2024
3cb4614
Update Object Types.md (#3082)
adriancuadrado Oct 1, 2024
0f4e069
Add example to make statement clearer. (#3069)
udohjeremiah Oct 1, 2024
2d40459
The separator of union members is allowed before the first element (#…
adriancuadrado Oct 1, 2024
228e15e
Excess property checks string index signature: use unknown (#3159)
matthias-ccri Oct 1, 2024
5cfb5a6
Stop documenting the extinct `prepend` option for project references …
mkantor Oct 1, 2024
e56ed7b
Fixing accessibility bug (#3241)
navya9singh Oct 7, 2024
4f7b058
Fixing accessibility bug (#3242)
navya9singh Oct 7, 2024
2be16f2
Fixing accessibility bug (#3230)
navya9singh Oct 7, 2024
ea6d240
fix: Typo in generics.md (#3244)
spalladino Oct 8, 2024
08258ac
Add necessary use case of @link (#2987)
zhangzhuang15 Oct 8, 2024
26d59f0
Fixing formatting for template literal types page (#3250)
navya9singh Oct 8, 2024
669e07f
updated the type name (#3248)
patichandana Oct 9, 2024
e1d28ae
Bump the github-actions group across 1 directory with 4 updates (#3252)
dependabot[bot] Oct 14, 2024
6eb49a6
Fixing accessibility bug (#3254)
navya9singh Oct 15, 2024
2d52c09
Fixing accessibility bug (#3229)
navya9singh Oct 15, 2024
11e3134
Fixing Accessibility bug (#3255)
navya9singh Oct 15, 2024
ad02d26
Fixing accessibility bug (#3256)
navya9singh Oct 16, 2024
e2b46f0
Patch gatsby-remark-shiki-twoslash to add in tabindex (#3257)
jakebailey Oct 16, 2024
1f8e642
Fixing accessibility bug (#3258)
navya9singh Oct 17, 2024
958f531
Also recommend TSTyche as type testing tool (#3264)
mrazauskas Oct 29, 2024
9ef7804
Update triple-slash directive docs for preserve=true (#3265)
jakebailey Oct 29, 2024
b0b019d
Fix small typo (#3268)
shammellee Nov 4, 2024
e6e9e24
Bump the github-actions group with 3 updates (#3262)
dependabot[bot] Nov 5, 2024
e5e89d2
Included Bun (#3267)
ByteJoseph Nov 7, 2024
078f7ee
fix: remove redirection by changing `/play` route to direct routing (…
SaeWooKKang Nov 8, 2024
b1c9386
Covariance and contravariance explanation is wrong (#3272)
matega Nov 12, 2024
96ebdba
Fix: wrong typescript announcement link for release version (#3274)
arijit192 Nov 12, 2024
17c8311
Bump cross-spawn from 7.0.3 to 7.0.5 (#3275)
dependabot[bot] Nov 20, 2024
920e3d8
Version Packages (#3279)
typescript-bot Nov 21, 2024
92c6492
Change bot token secret name (#3284)
jakebailey Dec 5, 2024
d982aee
Update Babel with TypeScript.md (#3293)
sametuca Jan 2, 2025
f9b47f5
add missing `that`: JSDoc annotations (that) come before.. (#3294)
60x20 Jan 6, 2025
8f12e5c
Bump the github-actions group across 1 directory with 2 updates (#3290)
dependabot[bot] Jan 7, 2025
29daa58
delete unintentional `the` before `how`: tweaking (the) how types are…
60x20 Jan 7, 2025
c606dd5
Rename for consistent example snippet (#3298)
lazyrainynight Jan 10, 2025
2ff9097
Bump the github-actions group with 2 updates (#3300)
dependabot[bot] Jan 14, 2025
0e6f3a0
Switch to TS 5.7 (#3301)
jakebailey Jan 17, 2025
b328017
Fix module-class.d.ts incorrect export as namespace syntax (#3302)
FoundTheWOUT Jan 19, 2025
ab02af1
Add TypeScript 5.0 defaults to the JSON schema (#3304)
mrazauskas Jan 20, 2025
f7c458a
Remove repeating word in sentence (#3303)
blxsse Jan 21, 2025
f5c5db6
Fix mismatched braces in paths.md (#3305)
RyanCavanaugh Jan 21, 2025
c3e15dd
Document the JSDoc @import tag (#3170)
remcohaszing Jan 25, 2025
d8eb50e
Reword strictBuiltinIteratorReturn for consistency (#3308)
TomiBelan Jan 25, 2025
846a372
Fix default value of esModuleInterop (#3307)
TomiBelan Jan 25, 2025
8166eaf
Document release version of every tsconfig option (#3310)
TomiBelan Jan 26, 2025
46443f1
prevent third-party types in twoslash snippets (#3309)
reillylm Jan 26, 2025
c147852
Fix z-index conflict between aside and sidebar in mobile view (#3282)
aqibshabir Jan 26, 2025
f6eba40
Bump the github-actions group with 2 updates (#3313)
dependabot[bot] Jan 27, 2025
775d2ab
Fixing bug: Unsafe HTML constructed from library input (#3312)
navya9singh Jan 29, 2025
753e1f8
Fixing unsafe HTML constructed from library input (#3316)
navya9singh Jan 29, 2025
7d0d042
Release notes for 5.6 and 5.7 (#3315)
navya9singh Jan 29, 2025
c66cab3
Fixing client side cross scripting vulnerability (#3317)
navya9singh Jan 31, 2025
c3f0279
Fixing codeQL bugs :Updating hash algorithm (#3318)
navya9singh Jan 31, 2025
4a30b02
Update hardcoded list of known lib file (#3324)
jakebailey Feb 3, 2025
4b2be22
Version Packages (#3325)
typescript-bot Feb 3, 2025
e79ad53
Bump github/codeql-action from 3.28.6 to 3.28.8 in the github-actions…
dependabot[bot] Feb 3, 2025
995af09
Recommend `export =` over `export default` in cjs declaration files (…
dsherret Feb 6, 2025
5c3e830
Bump the github-actions group with 2 updates (#3329)
dependabot[bot] Feb 10, 2025
7686654
Recommend rootDir and outDir in modules compiler option guide (#3330)
andrewbranch Feb 11, 2025
3173c39
Update Choosing Compiler Options.md (#3331)
mrazauskas Feb 12, 2025
fe024dc
Bump the github-actions group with 2 updates (#3340)
dependabot[bot] Feb 24, 2025
c601df4
[TS Workbench] Correctly HTML escape rendered code (#3339)
MichaelMitchell-at Feb 25, 2025
9aabf98
change noCheck release version for 5.6 (#3343)
Romej Feb 25, 2025
71aa8ee
Update docs for 5.8 (#3345)
andrewbranch Feb 28, 2025
40f35eb
Remove self-link for additional info (#3346)
Gerrit0 Mar 3, 2025
01bc5a8
rewriteRelativeImportExtensions implies allowImportingTsExtensions (#…
jakebailey Mar 3, 2025
053a389
Bump actions/download-artifact from 4.1.8 to 4.1.9 in the github-acti…
dependabot[bot] Mar 3, 2025
52338d5
Update ESM-CJS-Interop.md (#3350)
xavierchow Mar 4, 2025
ae31766
Update `moduleResolution` defaults in tsconfigRules (#3348)
risu729 Mar 5, 2025
b53d5d5
Use textContent instead of innerHTML for list of custom plugins (#3353)
jakebailey Mar 10, 2025
3f662f4
Add ./ to package.json conditional export values (#3355)
dsherret Mar 10, 2025
0fdaa61
Bump the github-actions group with 2 updates (#3356)
dependabot[bot] Mar 11, 2025
af252ce
Bump actions/setup-node from 4.2.0 to 4.3.0 in the github-actions gro…
dependabot[bot] Mar 18, 2025
2b29c2e
Bump the github-actions group with 3 updates (#3359)
dependabot[bot] Mar 25, 2025
9d44735
Update module-reference/Reference.md (#3362)
catnipan Mar 31, 2025
a392d40
Bump github/codeql-action from 3.28.13 to 3.28.15 in the github-actio…
dependabot[bot] Apr 9, 2025
912791a
Fix broken link to module specifier section (#3368)
sodic Apr 10, 2025
a1a6517
Bump actions/setup-node from 4.3.0 to 4.4.0 in the github-actions gro…
dependabot[bot] Apr 15, 2025
17edf17
Fix a typo in "The Basics" document (#3370)
Maddily Apr 21, 2025
fc7677a
Fix rewriteRelativeImportExtensions oneline (#3373)
jakebailey Apr 24, 2025
98ce242
fix: mobile styles on documentation page and missing react key (#3380)
connorb08 May 7, 2025
70bf492
fix grammar in verbatimModuleSyntax: "an ES modules" (#3382)
SnirBroshi May 15, 2025
3977b08
Remove all AppInsights code (#3389)
jakebailey May 19, 2025
5e10fd0
[ATA] Remove duplicate modules from getReferencesForModule (#3391)
ChaseMalik May 22, 2025
c65adad
Version Packages (#3392)
typescript-bot May 23, 2025
b0e9a5c
Fix error and error-behind css classes out-of-sync (#3400)
yoKurt94 May 29, 2025
1019cfc
Update the `tsconfig.json` schema link to HTTPS (#3407)
lgarron Jun 19, 2025
9daddd7
duplicated "to a" (#3417)
JulienSuan Jul 21, 2025
0640deb
noUnusedParameters: add note about underscore prefix exception (#3178)
jamonholmgren Jul 24, 2025
13dc8d2
Add missing commas in v5.5 release notes (#3422)
xt0rted Jul 27, 2025
0750d25
Update things for TS 5.9 (#3428)
jakebailey Aug 4, 2025
471221d
Add 5.9 blog post (#3430)
jakebailey Aug 7, 2025
e5652f4
Reflect changes from https://devblogs.microsoft.com/typescript/announ…
maschwenk Aug 11, 2025
7475651
Don't filter codeql (#3432)
jakebailey Aug 12, 2025
4a3a6a9
Bump the github-actions group across 1 directory with 4 updates (#3431)
dependabot[bot] Aug 12, 2025
c95f3eb
Fix: correct filename for src/tsconfig-base.json in docs (#3433)
TheoLeanse Aug 14, 2025
c2b25d2
Modules Theory: require(ESM) is in Node 20 (#3440)
robpalme Sep 5, 2025
c964e94
Bump the github-actions group across 1 directory with 5 updates (#3448)
dependabot[bot] Oct 21, 2025
1843cf4
Add proper localStorage availability checks to support Node v25 in @t…
yamcodes Oct 24, 2025
fdbf8d2
Version Packages (#3453)
typescript-bot Oct 24, 2025
9d07010
Bump the github-actions group with 3 updates (#3454)
dependabot[bot] Oct 28, 2025
0d96441
Bump github/codeql-action from 4.31.0 to 4.31.2 in the github-actions…
dependabot[bot] Nov 4, 2025
162dee4
Bump the github-actions group with 2 updates (#3460)
dependabot[bot] Nov 18, 2025
5b2c0a7
Bump the github-actions group with 2 updates (#3462)
dependabot[bot] Nov 25, 2025
5daeca1
style: use --code-font for code sections (#3461)
DrNayak2306 Dec 1, 2025
da20349
Docs: `erasableSyntaxOnly` should mention type assertions (#3465)
robpalme Dec 2, 2025
cb6b8ea
Disable CI jobs in forks (#3471)
jakebailey Dec 8, 2025
5d333d7
Bump the github-actions group across 1 directory with 3 updates (#3472)
dependabot[bot] Dec 9, 2025
9ec526c
Bump the github-actions group with 3 updates (#3474)
dependabot[bot] Dec 16, 2025
22f9874
Remove an unintended period ('.') in Narrowing.md (#3484)
Skeletrex-goop Jan 7, 2026
4559775
docs: remove extra 'it' in experimental decorators section of tsconfi…
onismosis Jan 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
15 changes: 15 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
"changelog": ["@changesets/changelog-github", { "repo": "microsoft/TypeScript-Website" }],
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "v2",
"updateInternalDependencies": "patch",
"ignore": [],
"privatePackages": {
"tag": false,
"version": false
}
}
7 changes: 2 additions & 5 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------

FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:14
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:20

# The javascript-node image includes a non-root node user with sudo access. Use
# the "remoteUser" property in devcontainer.json to use it. On Linux, the container
Expand All @@ -21,7 +21,4 @@ RUN if [ "$USER_GID" != "1000" ] || [ "$USER_UID" != "1000" ]; then \
&& usermod --uid $USER_UID --gid $USER_GID $USERNAME \
&& chmod -R $USER_UID:$USER_GID /home/$USERNAME \
&& chmod -R $USER_UID:root /usr/local/share/nvm /usr/local/share/npm-global; \
fi \
#
# Install tslint, typescript. eslint is installed by javascript image
&& sudo -u ${USERNAME} npm install -g tslint typescript yarn
fi
3 changes: 0 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@
},

"forwardPorts": [8000],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "sudo yarn install && sudo yarn bootstrap && yarn start"
}
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* -text
21 changes: 0 additions & 21 deletions .github/ISSUE_TEMPLATE/Documentation.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/Improvement.md

This file was deleted.

18 changes: 0 additions & 18 deletions .github/ISSUE_TEMPLATE/Module.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/Playground.md

This file was deleted.

5 changes: 3 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: TypeScript Compiler issues
url: https://github.community/
about: https://github.com/microsoft/TypeScript/issues/new/choose
url: https://github.com/microsoft/TypeScript/issues/new/choose
about: File TypeScript issues here

- name: Chat
url: "https://discord.gg/typescript"
Expand Down
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/critical-issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Critical Issue
about: Report a critical issue with the website (for non-critical issues we appreciate PRs)
title: "CRITICAL: "
---
<!--
For errors, typos, etc in documentation or other website copy, please send a PR.

This form should only be used for critical problems (non-rendering pages, malicious links, accessibility problems, etc).
Out-of-scope reports will be closed without further elaboration.
-->

<!-- Issue Report -->

**Page URL:** <!-- Where is the problem -->

**Issue:** <!-- What is wrong with it? -->
7 changes: 7 additions & 0 deletions .github/codeql/codeql-configuration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name : CodeQL Configuration

paths-ignore:
# Contains syntax errors.
- 'packages/ts-twoslasher/test/fixtures/**'
# Contains code examples with syntax errors.
- '**/copy/en/**'
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'weekly'
groups:
github-actions:
patterns:
- '*'
155 changes: 96 additions & 59 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,83 +1,120 @@
name: CI
on: pull_request
on:
pull_request:
branches:
- v2

# Ensure scripts are run with pipefail. See:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
defaults:
run:
shell: bash

jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest

steps:
# Check out, and set up the node/ruby infra
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: "13.x"
runs-on: ${{ matrix.os }}

- uses: actions/cache@v2
id: yarn-cache
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
path: |
packages/typescriptlang-org/.cache
packages/.cache
**/node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- uses: microsoft/playwright-github-action@v1

# Install, should be absically instant if cached
- run: yarn install
env:
YARN_CHECKSUM_BEHAVIOR: ignore
node-version: "18.x"
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0

# Verify dependencies are hooked up right
- run: node test/verifyPackageVersions.js
- run: pnpm install

# Grab localizations
- run: yarn docs-sync pull microsoft/TypeScript-Website-localizations#main 1
- run: pnpm docs-sync pull microsoft/TypeScript-Website-localizations#main 1

# Build the packages
- run: yarn bootstrap
- run: yarn workspace typescriptlang-org build
- run: pnpm bootstrap
- run: pnpm build

# Verify it compiles
- run: yarn compile
- run: pnpm build-site

- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
if: github.event_name == 'pull_request' && matrix.os == 'ubuntu-latest'
with:
name: site
path: packages/typescriptlang-org/public

# Run all the package's tests
- run: yarn test
env:
CI: true
- run: pnpm test

# danger for PR builds
- if: github.event_name == 'pull_request' && github.event.base.repo.id == github.event.head.repo.id
run: "yarn danger ci"
- if: github.event_name == 'pull_request' && github.event.pull_request.base.repo.id == github.event.pull_request.head.repo.id && matrix.os == 'ubuntu-latest'
run: "pnpm danger ci"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_DEPLOY_URL_ROOT: ${{ steps.deploy.outputs.static_web_app_url }}

- name: "Validates that TypeScript plugins work"
run: |
cd ..
npm init typescript-playground-plugin playground-my-plugin

windows:
runs-on: windows-latest

steps:
# Check out, and set up the node infra
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- run: |
git add .
if ! git diff --staged --exit-code --quiet; then
echo "This PR is missing some generated changes. Please update locally or merge the patch artifact."
echo ""
git diff --staged
git diff --staged > missing.patch
exit 1
fi
name: Check for uncommitted changes
id: check-diff
if: github.event_name == 'pull_request'

- name: Upload diff artifact
if: ${{ failure() && steps.check-diff.conclusion == 'failure' }}
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
node-version: "13.x"
name: missing.patch
path: missing.patch

# Get local dependencies
- run: yarn install
changesets:
name: changesets
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 0
- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version: 'lts/*'
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0

- run: pnpm install

- name: Check for missing changesets
run: |
PR_CHANGESETS=$(ls .changeset | (grep -v -E 'README\.md|config\.json' || true) | wc -l)
MAIN_CHANGESETS=$(git ls-tree -r origin/v2 .changeset | (grep -v -E 'README\.md|config\.json' || true) | wc -l)

# If the PR has no changesets, but main has changesets, assume this is PR is a versioning PR and exit
if [[ $PR_CHANGESETS -eq 0 && $MAIN_CHANGESETS -gt 0 ]]; then
echo "This PR is a versioning PR, exiting"
exit 0
fi

# git switch -c changesets-temp
# git checkout origin/v2 -- <ignored files>
pnpm changeset status --since=origin/v2

required:
runs-on: ubuntu-latest
if: ${{ always() }}
needs:
- tests
- changesets

steps:
- name: Check required jobs
env:
YARN_CHECKSUM_BEHAVIOR: ignore

- run: yarn bootstrap
- run: yarn build

- name: "Validates that TypeScript plugins work"
NEEDS: ${{ toJson(needs) }}
run: |
cd ..
npm init typescript-playground-plugin playground-my-plugin
! echo $NEEDS | jq -e 'to_entries[] | { job: .key, result: .value.result } | select(.result != "success")'
21 changes: 21 additions & 0 deletions .github/workflows/close-preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Close preview environment
on:
workflow_dispatch:
inputs:
pr:
required: true
type: string
description: PR number
pull_request_target:
types: [closed]

jobs:
close:
runs-on: ubuntu-latest
if: github.repository == 'microsoft/TypeScript-Website'
steps:
- uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PREVIEW }}
action: close
app_location: /dev/null
Loading