From 67ed46c31b5953907da78006b2f5b40850110643 Mon Sep 17 00:00:00 2001 From: Faris Basha TM <72191505+farisbasha@users.noreply.github.com> Date: Mon, 30 Nov 2026 00:49:53 +0530 Subject: [PATCH] docs: fix dead links in the JSX reference and release notes --- packages/documentation/copy/en/reference/JSX.md | 2 +- packages/documentation/copy/en/release-notes/TypeScript 1.6.md | 2 +- packages/documentation/copy/en/release-notes/TypeScript 2.6.md | 2 +- packages/documentation/copy/en/release-notes/TypeScript 5.2.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/documentation/copy/en/reference/JSX.md b/packages/documentation/copy/en/reference/JSX.md index dee9925ed54f..6b84cd3101a1 100644 --- a/packages/documentation/copy/en/reference/JSX.md +++ b/packages/documentation/copy/en/reference/JSX.md @@ -6,7 +6,7 @@ oneline: Using JSX with TypeScript translatable: true --- -[JSX](https://facebook.github.io/jsx/) is an embeddable XML-like syntax. +[JSX](https://react.github.io/jsx/) is an embeddable XML-like syntax. It is meant to be transformed into valid JavaScript, though the semantics of that transformation are implementation-specific. JSX rose to popularity with the [React](https://reactjs.org/) framework, but has since seen other implementations as well. TypeScript supports embedding, type checking, and compiling JSX directly to JavaScript. diff --git a/packages/documentation/copy/en/release-notes/TypeScript 1.6.md b/packages/documentation/copy/en/release-notes/TypeScript 1.6.md index 7ea7d42285a5..363274bad9ea 100644 --- a/packages/documentation/copy/en/release-notes/TypeScript 1.6.md +++ b/packages/documentation/copy/en/release-notes/TypeScript 1.6.md @@ -26,7 +26,7 @@ var x = foo as any; #### Using React -To use JSX-support with React you should use the [React typings](https://github.com/borisyankov/DefinitelyTyped/tree/master/react). These typings define the `JSX` namespace so that TypeScript can correctly check JSX expressions for React. For example: +To use JSX-support with React you should use the [React typings](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react). These typings define the `JSX` namespace so that TypeScript can correctly check JSX expressions for React. For example: ```ts /// diff --git a/packages/documentation/copy/en/release-notes/TypeScript 2.6.md b/packages/documentation/copy/en/release-notes/TypeScript 2.6.md index f476c1fdc913..191843fcda4c 100644 --- a/packages/documentation/copy/en/release-notes/TypeScript 2.6.md +++ b/packages/documentation/copy/en/release-notes/TypeScript 2.6.md @@ -92,7 +92,7 @@ This contrasts with inferences from covariant positions, where we infer the _bes TypeScript 2.6 fixes the tagged string template emit to align better with the ECMAScript spec. As per the [ECMAScript spec](https://tc39.github.io/ecma262/#sec-gettemplateobject), every time a template tag is evaluated, the _same_ template strings object (the same `TemplateStringsArray`) should be passed as the first argument. Before TypeScript 2.6, the generated output was a completely new template object each time. -Though the string contents are the same, this emit affects libraries that use the identity of the string for cache invalidation purposes, e.g. [lit-html](https://github.com/PolymerLabs/lit-html/issues/58). +Though the string contents are the same, this emit affects libraries that use the identity of the string for cache invalidation purposes, e.g. [lit-html](https://github.com/lit/lit/issues/58). ##### Example diff --git a/packages/documentation/copy/en/release-notes/TypeScript 5.2.md b/packages/documentation/copy/en/release-notes/TypeScript 5.2.md index cee008d957b7..8e20f27eb554 100644 --- a/packages/documentation/copy/en/release-notes/TypeScript 5.2.md +++ b/packages/documentation/copy/en/release-notes/TypeScript 5.2.md @@ -148,7 +148,7 @@ Check it out — no `try`/`finally` blocks! At least, none that we see. Functionally, that's exactly what `using` declarations will do for us, but we don't have to deal with that. -You might be familiar with [`using` declarations in C#](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-8.0/using), [`with` statements in Python](https://docs.python.org/3/reference/compound_stmts.html#the-with-statement), or [`try`-with-resource declarations in Java](https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html). +You might be familiar with [`using` declarations in C#](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/statements/using), [`with` statements in Python](https://docs.python.org/3/reference/compound_stmts.html#the-with-statement), or [`try`-with-resource declarations in Java](https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html). These are all similar to JavaScript's new `using` keyword, and provide a similar explicit way to perform a "tear-down" of an object at the end of a scope. `using` declarations do this clean-up at the very end of their containing scope or right before an "early return" like a `return` or a `throw`n error.