patternfly / patternfly/react-data-view
New exports from `DataViewTh` hide type exported from `DataViewTable`
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Version 6.5 adds new exports from DataviewTh, but this hides the DataViewTh type already exported from DataViewTable [1]. This results in build errors due to the type/const mismatch.
error TS2749: 'DataViewTh' refers to a value, but is being used as a type here. Did you mean 'typeof DataViewTh'?
Jira Issue: PF-4240
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
Inspect the export changes in the referenced commit and compare them with the existing DataViewTh type export from DataViewTable. Resolve the naming collision so DataViewTh remains usable as a type, then run the TypeScript build or relevant checks to confirm the TS2749 error is gone.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100