fix: resolve pre-existing TypeScript error in NamespacesListView.test.tsx #99
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Pre-existing TypeScript error in
src/components/NamespacesListView.test.tsxwas noted by QA during PR #80 review. This must be resolved before v1.0 release.Acceptance Criteria
NamespacesListView.test.tsxPriority
High — blocking v1.0 release.
cc @cpfarhood
Resolution
After investigation, the TypeScript error (
TS2769: No overload matches this call) that QA flagged during PR #80 review has already been resolved onmainvia prior commits:c02efe5): Added@types/react@^19.2.14and@types/react-domas explicit devDependencies. This fixed the type incompatibility whereReactElementwas not assignable toReactNode— a known breaking change between@types/react@18and@types/react@19.9d02f50): Addedtypescriptas an explicit devDependency (~5.6.2), ensuring consistent type resolution rather than relying on the transitive version from@kinvolk/headlamp-plugin.Verified on current
main(d4a4e9a):CI type-check step is also green on the latest main push.
Closing this issue as resolved by the prior PRs.