remove annotations for compliance with esbuild > 3.0

CSP Request Details

None

CSP Rejection Details

None

CSP Approved

None

Description

Summary: replace annotations with flow-based syntax for compatibility with eslint > 3.0.

Details: We locked esbuild-loader to ~3.0 in https://folio-org.atlassian.net/browse/STRWEB-94 . It isn’t totally clear what the incompatibility is, but this is an easy refactor that just avoids the problem altogether.

Environment

None

Potential Workaround

None

Checklist

hide

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Stripes Force

Fix versions

Release

Sunflower (R1 2025)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created March 5, 2025 at 7:15 PM
Updated March 14, 2025 at 3:06 PM
Resolved March 10, 2025 at 6:20 PM
TestRail: Cases
TestRail: Runs