- Update to version 5.4.4
* Fix: Incorrect Path Resolution for Type Imports in TypeScript Declarations
* Fix: "Inferred type cannot be named" error caused by adding paths to tsconfig
* Fix: Incorrect parameter hint is highlighted when arguments contain spread syntax
* Fix: Fixed a regression related to determining argument index when spread elements are involved
* Fix: Directories dont check modified time when sending "change" event
* Fix: "Expression produces a union type that is too complex to represent" when using interfaces
with large number of params for filtering and narrowing down certain keys
* Watch events Enhancements
- Add empty %check section to the .spec
OBS-URL: https://build.opensuse.org/request/show/1165975
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/typescript?expand=0&rev=45
- Update to version 5.4:
* Preserved Narrowing in Closures Following Last Assignments
* The NoInfer Utility Type
* Object.groupBy and Map.groupBy
* Support for require() calls in --moduleResolution bundler and --module preserve
* Checked Import Attributes and Assertions
* Quick Fix for Adding Missing Parameters
* Auto-Import Support for Subpath Imports
* Upcoming 5.5 Deprecations:
+ TypeScript 5.0 deprecated the following options and behaviors:
charset
target: ES3
importsNotUsedAsValues
noImplicitUseStrict
noStrictGenericChecks
keyofStringsOnly
suppressExcessPropertyErrors
suppressImplicitAnyIndexErrors
out
preserveValueImports
prepend in project references
implicitly OS-specific newLine
To continue using them, developers using TypeScript 5.0 and other more recent versions
have had to specify a new option called ignoreDeprecations with the value "5.0".
However, TypScript 5.4 will be the last version in which these will continue to function as normal.
By TypeScript 5.5 (likely June 2024), these will become hard errors,
and code using them will need to be migrated away.
* Notable Behavioral Changes:
see https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/#notable-behavioral-changes
For the full changelog see https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/
OBS-URL: https://build.opensuse.org/request/show/1156599
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/typescript?expand=0&rev=41
- Update to version 5.3.3:
* Make JSDoc Parsing Configurable using the transpileModule method
* Fixed an issue in boolean comparison narrowing when the reference is an optional chain
* Type narrowing regression with property comparison to boolean false
* Deprecated types (AssertEntry, AssertClause) redefined as type aliases, rather than interfaces
* Type error in typescript.d.ts with exactOptionalPropertyTypes = true
OBS-URL: https://build.opensuse.org/request/show/1132344
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/typescript?expand=0&rev=39
- Update to version 5.3.2:
* Import Attributes
* Stable Support resolution-mode in Import Types
* resolution-mode Supported in All Module Modes
* switch (true) Narrowing
* Narrowing On Comparisons to Booleans
* instanceof Narrowing Through Symbol.hasInstance
* Checks for super Property Accesses on Instance Fields
* Interactive Inlay Hints for Types
* Settings to Prefer type Auto-Imports
* Optimizations by Skipping JSDoc Parsing
* Optimizations by Comparing Non-Normalized Intersections
* Consolidation Between tsserverlibrary.js and typescript.js
* for details see https://devblogs.microsoft.com/typescript/announcing-typescript-5-3/
* Breaking Changes and Correctness Improvements:
- lib.d.ts Changes
Types generated for the DOM may have an impact on your codebase.
For more information, see the DOM updates for TypeScript 5.3.
https://github.com/microsoft/TypeScript/pull/55798
OBS-URL: https://build.opensuse.org/request/show/1128607
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/typescript?expand=0&rev=37