Changelog

microsoft/typescript-go · · 5 commits

Diagnostics, watchers, and JS docs tightened

Fixes a JSDoc mismatch diagnostic, removes an LSP hang, speeds scope cloning, and updates JS docs around constructor functions.

Fix JSDoc @extends mismatch diagnostics for property access bases (Andarist18f93b8)

The checker now compares the identifier names extracted from @extends and the actual extends clause, instead of only handling plain identifiers. This makes the mismatch diagnostic fire correctly for property-access bases like React.Component vs React.PureComponent.

Fix server hang after scheduled diagnostics refresh (095aa2f)

RefreshDiagnostics now sends the workspace diagnostic refresh request fire-and-forget, avoiding a wait on a client response that is expected to be null. The watch/session code also adds per-request timeouts and rollback handling so watch registration stays consistent even if a client call stalls or fails.

Optimize type variable scope map cloning with CoW (jakebailey1e58c84)

Type parameter bookkeeping in the node builder was converted from ad hoc mutable maps/sets to copy-on-write collections. This trims cloning overhead in scope-heavy paths and simplifies the state management used while generating names and tracking visited symbols.

Other misc changes

  • Fixed a flaky pnpm-style symlink test in auto-import registry coverage (jakebailey763092d)
  • Updated JavaScript documentation and CHANGES.md guidance around constructor functions and removed Closure-era examples (sandersn20d34b5)