* fixed parseCommandLine fails with --build and --force
* fixed Watch cannot handle large amount of file changes
* fixed tsc crash with Error: start < 0 in a specific config
* allow use export = in .cts when module is esnext
* fixed verbatimModuleSyntax + import of ambient const enum missing error
* fixed Can't augment function overload is function is exported via export {}
* fixed Crash when using a combination of a switch statement, optional
chaining, an implicit any array, and ts strict settings.
* fixed Declaration emit change in 5.5 with exactOptionalPropertyTypes
* fixed Duplicate exports.* = assignments in CommonJS output in some cases
* fixed LiteralPropertyName should allow BigInt
* fixed Ghost errors and inconsistencies in destructuring patterns
For the full changelog see https://devblogs.microsoft.com/typescript/announcing-typescript-5-6/
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/typescript?expand=0&rev=55
- Update to version 5.5.4
* fixed Circular declarations cause infinite loops in getExportInfos since v5.5
* fixed the return type of Int8Array::toReversed in es2023.array.d.ts is wrong
* fixed Incorrect ES5 code emitted for closures in loops when noCheck is enabled
* fixed Regression issue with React import when using "jsx": "react" compiler
* fixed Scanner crash in services (TypeScript 5.5)
* fixed TypeError: Cannot read properties of undefined (reading 'flags')
at needsNameFromDeclaration at getNameForExportedSymbol
* perf: Node.getChildren speed regression in ts 5.5 when used at very large scale
For the full changelog see https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/
OBS-URL: https://build.opensuse.org/request/show/1189219
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/typescript?expand=0&rev=53
* Inferred Type Predicates
* Control Flow Narrowing for Constant Indexed Accesses
* The JSDoc @import Tag
* Regular Expression Syntax Checking
* Support for New ECMAScript Set Methods
* Isolated Declarations
* The ${configDir} Template Variable for Configuration Files
* Consulting package.json Dependencies for Declaration File Generation
* Editor and Watch-Mode Reliability Improvements
* Performance and Size Optimizations
* Easier API Consumption from ECMAScript Modules
* The transpileDeclaration API
* Notable Behavioral Changes
+ Disabling Features Deprecated in TypeScript 5.0
+ lib.d.ts Changes
+ Stricter Parsing for Decorators
+ undefined is No Longer a Definable Type Name
+ Simplified Reference Directive Declaration Emit
For the full changelog see https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/typescript?expand=0&rev=49
- Update to version 5.4.5
* Fix: type assertions affect the type narrowing of the subsequent code
* Fix: Don't propagate partial union/intersection properties between caches
* Fix: Mapped type reported as incompatible when passed through another mapped type (5.4 regression)
* Fix: No auto-import from aliased symbol from ts files in js files
* fix type import check for default-import/re-export in js files
- remove useless empty %check section to the .spec
OBS-URL: https://build.opensuse.org/request/show/1169513
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/typescript?expand=0&rev=47
- 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