From 428d4340010b70dae26f743deb56ee0fd065ed7c Mon Sep 17 00:00:00 2001 From: dhruvikpatel18 Date: Thu, 15 Oct 2026 18:48:29 +0530 Subject: [PATCH 1/2] Date: Convert the tests to TypeScript --- packages/block-editor/tsconfig.build.json | 2 +- packages/block-editor/tsconfig.json | 2 +- packages/block-library/tsconfig.json | 2 +- packages/components/tsconfig.build.json | 2 +- packages/components/tsconfig.json | 2 +- packages/components/tsconfig.stories.json | 2 +- packages/dataviews/tsconfig.build.json | 2 +- packages/dataviews/tsconfig.json | 2 +- packages/dataviews/tsconfig.stories.json | 2 +- packages/date/src/test/{index.js => index.ts} | 107 ++++++++++++++---- packages/date/tsconfig.build.json | 5 + packages/date/tsconfig.json | 7 +- packages/editor/tsconfig.build.json | 2 +- packages/editor/tsconfig.json | 2 +- packages/fields/tsconfig.build.json | 2 +- packages/fields/tsconfig.json | 2 +- packages/global-styles-ui/tsconfig.json | 2 +- tsconfig.build.json | 2 +- tsconfig.json | 1 + widgets/activity/tsconfig.json | 2 +- widgets/events/tsconfig.json | 2 +- widgets/news/tsconfig.json | 2 +- widgets/quick-draft/tsconfig.json | 2 +- 23 files changed, 113 insertions(+), 45 deletions(-) rename packages/date/src/test/{index.js => index.ts} (87%) create mode 100644 packages/date/tsconfig.build.json diff --git a/packages/block-editor/tsconfig.build.json b/packages/block-editor/tsconfig.build.json index 2cbf9377e5acdb..b5297bfa15ccb9 100644 --- a/packages/block-editor/tsconfig.build.json +++ b/packages/block-editor/tsconfig.build.json @@ -14,7 +14,7 @@ { "path": "../compose/tsconfig.build.json" }, { "path": "../data" }, { "path": "../dataviews/tsconfig.build.json" }, - { "path": "../date" }, + { "path": "../date/tsconfig.build.json" }, { "path": "../deprecated/tsconfig.build.json" }, { "path": "../dom" }, { "path": "../element/tsconfig.build.json" }, diff --git a/packages/block-editor/tsconfig.json b/packages/block-editor/tsconfig.json index 95a73c85c35118..c03c70312aa7f1 100644 --- a/packages/block-editor/tsconfig.json +++ b/packages/block-editor/tsconfig.json @@ -15,7 +15,7 @@ { "path": "../compose/tsconfig.build.json" }, { "path": "../data" }, { "path": "../dataviews/tsconfig.build.json" }, - { "path": "../date" }, + { "path": "../date/tsconfig.build.json" }, { "path": "../deprecated/tsconfig.build.json" }, { "path": "../dom" }, { "path": "../element/tsconfig.build.json" }, diff --git a/packages/block-library/tsconfig.json b/packages/block-library/tsconfig.json index 7f863fb4d224d8..d2ace59c1c310d 100644 --- a/packages/block-library/tsconfig.json +++ b/packages/block-library/tsconfig.json @@ -16,7 +16,7 @@ { "path": "../compose/tsconfig.build.json" }, { "path": "../core-data/tsconfig.build.json" }, { "path": "../data" }, - { "path": "../date" }, + { "path": "../date/tsconfig.build.json" }, { "path": "../deprecated/tsconfig.build.json" }, { "path": "../dom" }, { "path": "../element/tsconfig.build.json" }, diff --git a/packages/components/tsconfig.build.json b/packages/components/tsconfig.build.json index 9dc5db22f05333..1bbb02b07186a3 100644 --- a/packages/components/tsconfig.build.json +++ b/packages/components/tsconfig.build.json @@ -11,7 +11,7 @@ "references": [ { "path": "../a11y/tsconfig.build.json" }, { "path": "../compose/tsconfig.build.json" }, - { "path": "../date" }, + { "path": "../date/tsconfig.build.json" }, { "path": "../deprecated/tsconfig.build.json" }, { "path": "../dom" }, { "path": "../element/tsconfig.build.json" }, diff --git a/packages/components/tsconfig.json b/packages/components/tsconfig.json index b4f0eb194512df..8230342411b245 100644 --- a/packages/components/tsconfig.json +++ b/packages/components/tsconfig.json @@ -22,7 +22,7 @@ { "path": "./tsconfig.build.json" }, { "path": "../a11y/tsconfig.build.json" }, { "path": "../compose/tsconfig.build.json" }, - { "path": "../date" }, + { "path": "../date/tsconfig.build.json" }, { "path": "../deprecated/tsconfig.build.json" }, { "path": "../dom" }, { "path": "../element/tsconfig.build.json" }, diff --git a/packages/components/tsconfig.stories.json b/packages/components/tsconfig.stories.json index 6ccdc3cc869ee9..46ec57feb124a5 100644 --- a/packages/components/tsconfig.stories.json +++ b/packages/components/tsconfig.stories.json @@ -27,7 +27,7 @@ "references": [ { "path": "../a11y/tsconfig.build.json" }, { "path": "../compose/tsconfig.build.json" }, - { "path": "../date" }, + { "path": "../date/tsconfig.build.json" }, { "path": "../deprecated/tsconfig.build.json" }, { "path": "../dom" }, { "path": "../element/tsconfig.build.json" }, diff --git a/packages/dataviews/tsconfig.build.json b/packages/dataviews/tsconfig.build.json index 5f04f208e845f3..c21d9df9a03bce 100644 --- a/packages/dataviews/tsconfig.build.json +++ b/packages/dataviews/tsconfig.build.json @@ -13,7 +13,7 @@ { "path": "../components/tsconfig.build.json" }, { "path": "../compose/tsconfig.build.json" }, { "path": "../data" }, - { "path": "../date" }, + { "path": "../date/tsconfig.build.json" }, { "path": "../deprecated/tsconfig.build.json" }, { "path": "../element/tsconfig.build.json" }, { "path": "../hooks" }, diff --git a/packages/dataviews/tsconfig.json b/packages/dataviews/tsconfig.json index 4b8e3bf1dda076..8e01dd17ae4178 100644 --- a/packages/dataviews/tsconfig.json +++ b/packages/dataviews/tsconfig.json @@ -25,7 +25,7 @@ { "path": "../components/tsconfig.build.json" }, { "path": "../compose/tsconfig.build.json" }, { "path": "../data" }, - { "path": "../date" }, + { "path": "../date/tsconfig.build.json" }, { "path": "../deprecated/tsconfig.build.json" }, { "path": "../element/tsconfig.build.json" }, { "path": "../i18n/tsconfig.build.json" }, diff --git a/packages/dataviews/tsconfig.stories.json b/packages/dataviews/tsconfig.stories.json index 0a5fd3f7f356c8..4b3060b4bd10f5 100644 --- a/packages/dataviews/tsconfig.stories.json +++ b/packages/dataviews/tsconfig.stories.json @@ -26,7 +26,7 @@ { "path": "../components/tsconfig.build.json" }, { "path": "../compose/tsconfig.build.json" }, { "path": "../data" }, - { "path": "../date" }, + { "path": "../date/tsconfig.build.json" }, { "path": "../deprecated/tsconfig.build.json" }, { "path": "../element/tsconfig.build.json" }, { "path": "../hooks" }, diff --git a/packages/date/src/test/index.js b/packages/date/src/test/index.ts similarity index 87% rename from packages/date/src/test/index.js rename to packages/date/src/test/index.ts index 7218a5425a74ac..6ac7e937f4424c 100644 --- a/packages/date/src/test/index.js +++ b/packages/date/src/test/index.ts @@ -11,6 +11,16 @@ import { setSettings, humanTimeDiff, } from '../'; +import type { L10nSettings } from '../'; + +type LocaleNameKey = 'months' | 'monthsShort' | 'weekdays' | 'weekdaysShort'; + +/** + * The default settings list the month and weekday names as arrays, which the + * locale tests map over. + */ +type L10nWithNameArrays = Omit< L10nSettings, LocaleNameKey > & + Record< LocaleNameKey, string[] >; describe( 'isInTheFuture', () => { it( 'should return true if the date is in the future', () => { @@ -33,7 +43,7 @@ describe( 'isInTheFuture', () => { // Set a timezone in the future. setSettings( { ...settings, - timezone: { offset: '4', string: '' }, + timezone: { ...settings.timezone, offset: 4, string: '' }, } ); // Create a Date object 1 minute in the past. let date = new Date( Number( getDate() ) - 1000 * 60 ); @@ -81,7 +91,7 @@ describe( 'Function date', () => { const settings = getSettings(); // Simulate different locale. - const l10n = settings.l10n; + const l10n = settings.l10n as L10nWithNameArrays; setSettings( { ...settings, l10n: { @@ -118,7 +128,11 @@ describe( 'Function date', () => { // Simulate different timezone. setSettings( { ...settings, - timezone: { offset: -4, string: 'America/New_York' }, + timezone: { + ...settings.timezone, + offset: -4, + string: 'America/New_York', + }, } ); // Check. @@ -144,7 +158,7 @@ describe( 'Function date', () => { // Simulate different timezone. setSettings( { ...settings, - timezone: { offset: -4, string: '' }, + timezone: { ...settings.timezone, offset: -4, string: '' }, } ); // Check. @@ -170,7 +184,11 @@ describe( 'Function date', () => { // Simulate different timezone. setSettings( { ...settings, - timezone: { offset: -4, string: 'America/New_York' }, + timezone: { + ...settings.timezone, + offset: -4, + string: 'America/New_York', + }, } ); // Check. @@ -191,7 +209,11 @@ describe( 'Function date', () => { // Simulate different timezone. setSettings( { ...settings, - timezone: { offset: -4, string: 'America/New_York' }, + timezone: { + ...settings.timezone, + offset: -4, + string: 'America/New_York', + }, } ); // Check. @@ -206,6 +228,7 @@ describe( 'Function date', () => { formattedDate = dateNoI18n( 'Y-m-d H:i', '2019-06-18T11:00:00.000Z', + // @ts-expect-error `date()` types `timezone` as a string, but its JSDoc and `buildMoment()` accept a numeric UTC offset. 8 ); expect( formattedDate ).toBe( '2019-06-18 19:00' ); @@ -213,6 +236,7 @@ describe( 'Function date', () => { formattedDate = dateNoI18n( 'Y-m-d H:i', '2019-06-18T11:00:00.000Z', + // @ts-expect-error `date()` types `timezone` as a string, but its JSDoc and `buildMoment()` accept a numeric UTC offset. 480 ); expect( formattedDate ).toBe( '2019-06-18 19:00' ); @@ -252,7 +276,7 @@ describe( 'Function gmdate', () => { const settings = getSettings(); // Simulate different locale. - const l10n = settings.l10n; + const l10n = settings.l10n as L10nWithNameArrays; setSettings( { ...settings, l10n: { @@ -289,7 +313,11 @@ describe( 'Function gmdate', () => { // Simulate different timezone. setSettings( { ...settings, - timezone: { offset: -4, string: 'America/New_York' }, + timezone: { + ...settings.timezone, + offset: -4, + string: 'America/New_York', + }, } ); // Check. @@ -331,7 +359,7 @@ describe( 'Function dateI18n', () => { const settings = getSettings(); // Simulate different locale. - const l10n = settings.l10n; + const l10n = settings.l10n as L10nWithNameArrays; setSettings( { ...settings, l10n: { @@ -369,7 +397,11 @@ describe( 'Function dateI18n', () => { // Simulate different timezone. setSettings( { ...settings, - timezone: { offset: -4, string: 'America/New_York' }, + timezone: { + ...settings.timezone, + offset: -4, + string: 'America/New_York', + }, } ); // Check. @@ -395,7 +427,7 @@ describe( 'Function dateI18n', () => { // Simulate different timezone. setSettings( { ...settings, - timezone: { offset: -4, string: '' }, + timezone: { ...settings.timezone, offset: -4, string: '' }, } ); // Check. @@ -421,7 +453,11 @@ describe( 'Function dateI18n', () => { // Simulate different timezone. setSettings( { ...settings, - timezone: { offset: -4, string: 'America/New_York' }, + timezone: { + ...settings.timezone, + offset: -4, + string: 'America/New_York', + }, } ); // Check. @@ -442,7 +478,11 @@ describe( 'Function dateI18n', () => { // Simulate different timezone. setSettings( { ...settings, - timezone: { offset: -4, string: 'America/New_York' }, + timezone: { + ...settings.timezone, + offset: -4, + string: 'America/New_York', + }, } ); // Check. @@ -474,7 +514,11 @@ describe( 'Function dateI18n', () => { // Simulate different timezone. setSettings( { ...settings, - timezone: { offset: -4, string: 'America/New_York' }, + timezone: { + ...settings.timezone, + offset: -4, + string: 'America/New_York', + }, } ); // Check that offset 0 formats in UTC, not site timezone. @@ -497,7 +541,11 @@ describe( 'Function dateI18n', () => { // Simulate different timezone. setSettings( { ...settings, - timezone: { offset: -4, string: 'America/New_York' }, + timezone: { + ...settings.timezone, + offset: -4, + string: 'America/New_York', + }, } ); // Check. @@ -518,7 +566,11 @@ describe( 'Function dateI18n', () => { // Simulate different timezone. setSettings( { ...settings, - timezone: { offset: -4, string: 'America/New_York' }, + timezone: { + ...settings.timezone, + offset: -4, + string: 'America/New_York', + }, } ); // Check. @@ -564,7 +616,7 @@ describe( 'Function gmdateI18n', () => { const settings = getSettings(); // Simulate different locale. - const l10n = settings.l10n; + const l10n = settings.l10n as L10nWithNameArrays; setSettings( { ...settings, l10n: { @@ -601,7 +653,11 @@ describe( 'Function gmdateI18n', () => { // Simulate different timezone. setSettings( { ...settings, - timezone: { offset: -4, string: 'America/New_York' }, + timezone: { + ...settings.timezone, + offset: -4, + string: 'America/New_York', + }, } ); // Check. @@ -640,8 +696,8 @@ describe( 'Moment.js Localization', () => { expect( newSettings.l10n.locale ).toBe( settings.l10n.locale ); // Test the changed values. - expect( newSettings.l10n.relative.mm ).toBe( '%d localized minutes' ); - expect( newSettings.l10n.relative.hh ).toBe( '%d localized hours' ); + expect( newSettings.l10n.relative!.mm ).toBe( '%d localized minutes' ); + expect( newSettings.l10n.relative!.hh ).toBe( '%d localized hours' ); // Restore default settings. setSettings( settings ); @@ -693,7 +749,10 @@ describe( 'WP timezone zone recovery', () => { function destroyWPZone() { // moment-timezone stores zones in an internal object. // Removing 'wp' simulates a third-party moment-timezone reload. - const zones = momentLib.tz._zones; + // `_zones` is internal, so moment-timezone's types do not declare it. + const zones = ( + momentLib.tz as unknown as { _zones: Record< string, unknown > } + )._zones; delete zones.wp; } @@ -701,7 +760,7 @@ describe( 'WP timezone zone recovery', () => { const settings = getSettings(); setSettings( { ...settings, - timezone: { offset: 4, string: '' }, + timezone: { ...settings.timezone, offset: 4, string: '' }, } ); destroyWPZone(); @@ -718,7 +777,7 @@ describe( 'WP timezone zone recovery', () => { const settings = getSettings(); setSettings( { ...settings, - timezone: { offset: 4, string: '' }, + timezone: { ...settings.timezone, offset: 4, string: '' }, } ); destroyWPZone(); @@ -734,7 +793,7 @@ describe( 'WP timezone zone recovery', () => { const settings = getSettings(); setSettings( { ...settings, - timezone: { offset: 4, string: '' }, + timezone: { ...settings.timezone, offset: 4, string: '' }, } ); destroyWPZone(); diff --git a/packages/date/tsconfig.build.json b/packages/date/tsconfig.build.json new file mode 100644 index 00000000000000..d687e67bac769c --- /dev/null +++ b/packages/date/tsconfig.build.json @@ -0,0 +1,5 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig.json", + "extends": "@wordpress/monorepo-tools/tsconfig/base.json", + "references": [ { "path": "../deprecated/tsconfig.build.json" } ] +} diff --git a/packages/date/tsconfig.json b/packages/date/tsconfig.json index d687e67bac769c..aa45581d961edb 100644 --- a/packages/date/tsconfig.json +++ b/packages/date/tsconfig.json @@ -1,5 +1,8 @@ { "$schema": "https://json.schemastore.org/tsconfig.json", - "extends": "@wordpress/monorepo-tools/tsconfig/base.json", - "references": [ { "path": "../deprecated/tsconfig.build.json" } ] + "extends": "@wordpress/monorepo-tools/tsconfig/dev.base.json", + "compilerOptions": { + "types": [ "gutenberg-vitest-test-env" ] + }, + "references": [ { "path": "./tsconfig.build.json" } ] } diff --git a/packages/editor/tsconfig.build.json b/packages/editor/tsconfig.build.json index 4aa9f6339a1b41..c40e27b1fc2f82 100644 --- a/packages/editor/tsconfig.build.json +++ b/packages/editor/tsconfig.build.json @@ -18,7 +18,7 @@ { "path": "../core-data/tsconfig.build.json" }, { "path": "../data" }, { "path": "../dataviews/tsconfig.build.json" }, - { "path": "../date" }, + { "path": "../date/tsconfig.build.json" }, { "path": "../deprecated/tsconfig.build.json" }, { "path": "../dom" }, { "path": "../element/tsconfig.build.json" }, diff --git a/packages/editor/tsconfig.json b/packages/editor/tsconfig.json index 34add615577f59..0995dfaa5a01a0 100644 --- a/packages/editor/tsconfig.json +++ b/packages/editor/tsconfig.json @@ -23,7 +23,7 @@ { "path": "../core-data/tsconfig.build.json" }, { "path": "../data" }, { "path": "../dataviews/tsconfig.build.json" }, - { "path": "../date" }, + { "path": "../date/tsconfig.build.json" }, { "path": "../deprecated/tsconfig.build.json" }, { "path": "../dom" }, { "path": "../element/tsconfig.build.json" }, diff --git a/packages/fields/tsconfig.build.json b/packages/fields/tsconfig.build.json index 986f6c3ea677ca..e86bd36f1b94bd 100644 --- a/packages/fields/tsconfig.build.json +++ b/packages/fields/tsconfig.build.json @@ -11,7 +11,7 @@ { "path": "../blocks" }, { "path": "../data" }, { "path": "../dataviews/tsconfig.build.json" }, - { "path": "../date" }, + { "path": "../date/tsconfig.build.json" }, { "path": "../element/tsconfig.build.json" }, { "path": "../html-entities/tsconfig.build.json" }, { "path": "../i18n/tsconfig.build.json" }, diff --git a/packages/fields/tsconfig.json b/packages/fields/tsconfig.json index 55800a8a936e38..cf9cc1a365b8bd 100644 --- a/packages/fields/tsconfig.json +++ b/packages/fields/tsconfig.json @@ -15,7 +15,7 @@ { "path": "../blocks" }, { "path": "../data" }, { "path": "../dataviews/tsconfig.build.json" }, - { "path": "../date" }, + { "path": "../date/tsconfig.build.json" }, { "path": "../element/tsconfig.build.json" }, { "path": "../html-entities/tsconfig.build.json" }, { "path": "../i18n/tsconfig.build.json" }, diff --git a/packages/global-styles-ui/tsconfig.json b/packages/global-styles-ui/tsconfig.json index cbad86c23ff62d..11e38ca76c1c84 100644 --- a/packages/global-styles-ui/tsconfig.json +++ b/packages/global-styles-ui/tsconfig.json @@ -13,7 +13,7 @@ { "path": "../compose/tsconfig.build.json" }, { "path": "../core-data/tsconfig.build.json" }, { "path": "../dataviews/tsconfig.build.json" }, - { "path": "../date" }, + { "path": "../date/tsconfig.build.json" }, { "path": "../data" }, { "path": "../element/tsconfig.build.json" }, { "path": "../global-styles-engine/tsconfig.build.json" }, diff --git a/tsconfig.build.json b/tsconfig.build.json index 0c8fc6c489f15a..ab1367adfb943f 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -23,7 +23,7 @@ { "path": "packages/data" }, { "path": "packages/data-controls" }, { "path": "packages/dataviews/tsconfig.build.json" }, - { "path": "packages/date" }, + { "path": "packages/date/tsconfig.build.json" }, { "path": "packages/deprecated/tsconfig.build.json" }, { "path": "packages/design-system-mcp/tsconfig.build.json" }, { "path": "packages/docgen" }, diff --git a/tsconfig.json b/tsconfig.json index 934131d05418c3..5f2ef582b27b05 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,6 +18,7 @@ { "path": "packages/core-data" }, { "path": "packages/dataviews" }, { "path": "packages/dataviews/tsconfig.stories.json" }, + { "path": "packages/date" }, { "path": "packages/deprecated" }, { "path": "packages/design-system-mcp" }, { "path": "packages/dom-ready" }, diff --git a/widgets/activity/tsconfig.json b/widgets/activity/tsconfig.json index e56d219dc2ae11..818872a575b623 100644 --- a/widgets/activity/tsconfig.json +++ b/widgets/activity/tsconfig.json @@ -14,7 +14,7 @@ { "path": "../../packages/core-data/tsconfig.build.json" }, { "path": "../../packages/data" }, { "path": "../../packages/dataviews/tsconfig.build.json" }, - { "path": "../../packages/date" }, + { "path": "../../packages/date/tsconfig.build.json" }, { "path": "../../packages/element/tsconfig.build.json" }, { "path": "../../packages/html-entities/tsconfig.build.json" }, { "path": "../../packages/i18n/tsconfig.build.json" }, diff --git a/widgets/events/tsconfig.json b/widgets/events/tsconfig.json index 8343bb82f096b7..e5823044a25ce7 100644 --- a/widgets/events/tsconfig.json +++ b/widgets/events/tsconfig.json @@ -14,7 +14,7 @@ { "path": "../../packages/core-data/tsconfig.build.json" }, { "path": "../../packages/data" }, { "path": "../../packages/dataviews/tsconfig.build.json" }, - { "path": "../../packages/date" }, + { "path": "../../packages/date/tsconfig.build.json" }, { "path": "../../packages/element/tsconfig.build.json" }, { "path": "../../packages/i18n/tsconfig.build.json" }, { "path": "../../packages/icons/tsconfig.build.json" }, diff --git a/widgets/news/tsconfig.json b/widgets/news/tsconfig.json index 67fc7e1d86c2ab..499bd54cd6d4cf 100644 --- a/widgets/news/tsconfig.json +++ b/widgets/news/tsconfig.json @@ -11,7 +11,7 @@ }, "references": [ { "path": "../../packages/dataviews/tsconfig.build.json" }, - { "path": "../../packages/date" }, + { "path": "../../packages/date/tsconfig.build.json" }, { "path": "../../packages/element/tsconfig.build.json" }, { "path": "../../packages/html-entities/tsconfig.build.json" }, { "path": "../../packages/i18n/tsconfig.build.json" }, diff --git a/widgets/quick-draft/tsconfig.json b/widgets/quick-draft/tsconfig.json index d48b9b57ef5070..faa3011e22a79d 100644 --- a/widgets/quick-draft/tsconfig.json +++ b/widgets/quick-draft/tsconfig.json @@ -16,7 +16,7 @@ { "path": "../../packages/core-data/tsconfig.build.json" }, { "path": "../../packages/data" }, { "path": "../../packages/dataviews/tsconfig.build.json" }, - { "path": "../../packages/date" }, + { "path": "../../packages/date/tsconfig.build.json" }, { "path": "../../packages/element/tsconfig.build.json" }, { "path": "../../packages/escape-html/tsconfig.build.json" }, { "path": "../../packages/html-entities/tsconfig.build.json" }, From 876e96625de127b5b4d592d5caa1eba4688f7674 Mon Sep 17 00:00:00 2001 From: dhruvikpatel18 Date: Thu, 15 Oct 2026 18:57:23 +0530 Subject: [PATCH 2/2] Date: Add CHANGELOG entry --- packages/date/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/date/CHANGELOG.md b/packages/date/CHANGELOG.md index 1e9e8b0ce41938..b12afebc7d0aab 100644 --- a/packages/date/CHANGELOG.md +++ b/packages/date/CHANGELOG.md @@ -6,6 +6,10 @@ - Raise the minimum required Node.js version to `>=22.13.0`, for stable `require(esm)` support ([#84313](https://github.com/WordPress/gutenberg/pull/84313)). +### Internal + +- Convert the tests to TypeScript, and split tsconfig into a build project and a default dev project so the tests are type checked without publishing their declarations ([#84830](https://github.com/WordPress/gutenberg/pull/84830)). + ## 5.57.0 (2026-10-07) ### Bug Fixes