[42/44] Enable TS strict mode in portlets-edit-ema-portlet
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 970
- Forks
- 486
- Avg merge
- 3d 33m
- Merged PRs (30d)
- 170
Description
Description
Part of the strict-mode rollout epic #35932. Enable TypeScript strict mode for the portlets-edit-ema-portlet project using typescript-strict-plugin.
- Dependency layer: 9 (0 = leaf library, 10 = top-level app)
- Internal dependents: 1 project(s)
- Rollout order: 42 / 44
- Note: Heaviest portlet (18 internal deps).
All internal dependencies of portlets-edit-ema-portlet should already be in strict mode before starting (they appear earlier in the rollout order).
Acceptance Criteria
-
portlets-edit-ema-portlet'ssrcis added to thetypescript-strict-pluginstrictpathsconfig. - All resulting type errors are resolved (no new
any; use explicit types). -
// @ts-strict-ignoreis used only where unavoidable, each with a follow-up TODO. -
yarn nx run portlets-edit-ema-portlet:lintpasses (and:build/:testwhere applicable). -
npx tsc-strictpasses forportlets-edit-ema-portlet. -
yarn nx affected -t builddoes not break dependents.
Priority
Medium
Additional Context
One project in the bottom-up rollout tracked by epic #35932. Depends on the bootstrap task being merged and on lower-layer projects already being strict.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the typescript-strict-plugin strict paths configuration and the portlets-edit-ema-portlet src tree. Add the project to strict mode, resolve resulting type errors without new any values, and use ts-strict-ignore only with follow-up TODOs. Run the project's lint, build, test, npx tsc-strict, and affected build commands to verify completion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100