The GitHub Actions job "Tests (AMD)" on 
airflow.git/dependabot/npm_and_yarn/airflow-core/src/airflow/ui/typescript-231ff6e3d3
 has succeeded.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
92a37b250a77a091c455f54008bc3b4918f85d69 / Jarek Potiuk <[email protected]>
Adapt UI to TypeScript 6.0 stricter inference

The dependabot bump pulled TypeScript from 5.9 to 6.0 alongside the
``@typescript-eslint/*`` 8.59 minors. TS 6.0 changes a handful of
behaviours that surface as new lint / tsc errors against the existing
sources; this commit is the small set of edits needed for ``pnpm lint``
to pass under the new toolchain.

Config:

* ``tsconfig.app.json`` — add ``"types": ["node"]`` so ``node:fs`` /
  ``node:path`` style imports in e2e specs resolve under bundler
  module resolution (TS 6.0 no longer auto-pulls Node globals when
  ``lib`` is restricted to DOM); add ``"ignoreDeprecations": "6.0"``
  to silence the new TS5101 hard error on the still-supported
  ``baseUrl`` option.
* ``tsconfig.node.json`` — same ``ignoreDeprecations`` shim.

Source:

* ``BasicTooltip.tsx`` / ``FilterPill.tsx`` — replace
  ``NodeJS.Timeout`` with ``ReturnType<typeof setTimeout>`` (cross-
  platform, doesn't require Node types in the React program) and
  use explicit ``!== null`` / ``!== undefined`` checks now that
  ``strict-boolean-expressions`` rejects nullable-number conditionals.
* ``UserSettingsButton.tsx`` / ``ConnectionForm.tsx`` — drop a
  ``ColorMode`` local type and a ``ParamsSpec`` import that became
  unused after ``eslint --fix`` removed redundant ``as X`` casts.

Auto-fix cascade (``no-unnecessary-type-assertion``) — ``ConfigForm``,
``Graph/DirectionDropdown``, ``Gantt/GanttTimeline.test``,
``Gantt/utils.test``, ``Grid/utils.test``, ``Calendar/calendarUtils``:
TS 6.0 narrows tighter, so several previously-needed ``as X`` casts
are now no-ops; ESLint removes them automatically.

Report URL: https://github.com/apache/airflow/actions/runs/25645892913

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to