Upgrade TypeScript to v5.0 #15452
Labels
squad:core
Issue to be handled by the Core team.
type:improvement
This issue reports a possible enhancement of an existing feature.
Milestone
Update TypeScript from^4.8.4
to^5.2.2
in both core and commercial repositories.Update TypeScript from
^4.8.4
to^5.0.4
in both core and commercial repositories.The work has already been done once in the core (which can be used as a reference) as part of the PoC for new installation methods, and there was a need for minor updates in 4 files in the
ckeditor5-table
package due to better type checking introduced in the new versions.Please read the following changelogs to see if there are any features we can use and if there are any breaking changes that may affect projects that use our packages but still use
typescript@4
:TypeScript 5.1TypeScript 5.2Here're changes worth and introducing (if possible):
extends
.allowArbitraryExtensions
(maybe we can get rid of thetypings
folder with SVG typings?).verbatimModuleSyntax
.Let's check nightly
.d.ts
files and test them with the QA team against TypeScript 4.7 or 4.8.Update: TypeScript 5.3 has been released. Consider upgrading to it if you don't see any additional risks.
The text was updated successfully, but these errors were encountered: