Sitelet https://github.com/microsoft/typescript-go/pull/762
Skip to content
This repository was archived by the owner on Sep 1, 2026. It is now read-only.

Port JSX type checking - #762

Merged
Jake Bailey (jakebailey) merged 10 commits into
mainfrom
jsx-type-checking
Apr 7, 2025
Merged

Jake Bailey (jakebailey) merged 10 commits into
mainfrom
jsx-type-checking

Conversation

@ahejlsberg

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1733 out of 1738 changed files in this pull request and generated 1 comment.

Files not reviewed (5)
  • testdata/baselines/reference/submodule/compiler/booleanLiteralsContextuallyTypedFromUnion.symbols: Language not supported
  • testdata/baselines/reference/submodule/compiler/booleanLiteralsContextuallyTypedFromUnion.symbols.diff: Language not supported
  • testdata/baselines/reference/submodule/compiler/booleanLiteralsContextuallyTypedFromUnion.types: Language not supported
  • testdata/baselines/reference/submodule/compiler/booleanLiteralsContextuallyTypedFromUnion.types.diff: Language not supported
  • testdata/baselines/reference/submodule/compiler/callsOnComplexSignatures.js.diff: Language not supported
Comments suppressed due to low confidence (1)

internal/compiler/program.go:164

  • Ensure that tspath.ExtensionTsx is included in tspath.SupportedJSExtensionsFlat (or handled separately) if TSX files are intended to be supported. Otherwise, TSX files may inadvertently be excluded from the unsupportedExtensions list.
if slices.Contains(tspath.SupportedJSExtensionsFlat, extension) {

Comment thread internal/parser/parser.go
@jakebailey

Copy link
Copy Markdown
Member

Basically impossible to review this on any website at all, I was barely able to click approve 😄

The error baseline thing is fixed in #763.

I also wish JsxNames were a named string type or something; I've always wanted to eliminate that one namespace in Strada but never got around to it.

@ahejlsberg
Anders Hejlsberg (ahejlsberg) added this pull request to the merge queue Apr 7, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 7, 2025
@jakebailey
Jake Bailey (jakebailey) added this pull request to the merge queue Apr 7, 2025
Merged via the queue into main with commit 2056774 Apr 7, 2025
@jakebailey
Jake Bailey (jakebailey) deleted the jsx-type-checking branch April 8, 2025 00:54
@alexwork1611

Copy link
Copy Markdown

History in the making... thank you, Anders Hejlsberg (@ahejlsberg)!

Jake Bailey (jakebailey) pushed a commit to jakebailey/TypeScript that referenced this pull request Aug 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants