Repository navigation
7.1.0-beta.tsrs3
Immutable
release. Only release title and notes can be modified.
7.1.0-beta.tsrs3
This release targets TypeScript 7.1.0-beta, pinned to microsoft/TypeScript@3e9236361fa97a9e6c685f4833ac457ae2d8c50a.
It is the first TypeScript-aligned release published under npm's latest tag (#1014), so a default install now gets
it instead of 0.25.0-ts7.1.0-beta:
pnpm add -D tsrs@7.1.0-beta.tsrs3
pnpm add @tsrs/wasm@7.1.0-beta.tsrs3Linting
oxlint --type-checkno longer reports suggestion diagnostics. Oxlint showed them as errors, so suggestions from
plugins like Effect's language service failed lint. Message diagnostics such as TS1450, whichtscfails on, are
still reported (#959).- Type errors include the message chain, the extra lines that explain the error, as
tscprints it.tsconfig-error
reports put the chain in their help text (#1006). - Two performance changes: headless diagnostics are serialized without building an intermediate JSON value tree
(#1011), andno-unsafe-enum-assignmentno longer recursively compares prototype members when both constrained
types share a primitive wrapper (#1012).
Compiler
These fixes match tsgo:
- A file that references itself without an extension, such as
/// <reference path="a" />ina.ts, reports TS1006
(#1023). - With
"files": ["a.ts"]and"include": ["*.d.ts"],a.d.tsis no longer part of the program, and overlapping
filesandincludeentries no longer repeat thePart of 'files' listreason (#1021). - With
declaration: true, a type fromlib/index.tskeepsimport("./lib/index")whenlib.tsalso exists
(#1024). tsrs -p subandtsrs -b subno longer report TS5011 for a declaration-only project withoutDir. The check
uses the config directory instead of the working directory (#1022).tsrs -bwrites"root":[]to.tsbuildinfofor a non-incremental project with no input files (#1025).- The language server resolves type roots for documents that are not
file:URIs, such asuntitled:files and
virtual workspaces (#1009).
The compiler continues to report TypeScript 7.1.0-beta for compatibility. Packages are available for macOS
arm64/x64, Linux x64/arm64 (glibc and musl), and Windows x64/arm64.