Skip to content

GroupColumnDefBase not being exported, causing type error when using declaration tsconfig #5444 #6004

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
thescripted opened this issue May 6, 2025 · 0 comments · May be fixed by #6005
Open
2 tasks done

Comments

@thescripted
Copy link

thescripted commented May 6, 2025

TanStack Table version

v8.21.3

Framework/Library version

React v18

Describe the bug and the steps to reproduce it

This is a very similar issue to #5444
Due to this type not being exported, creating declaration files for objects that uses columnHelper.group throws a TypeScript error:

Exported variable 'foo' has or is using name 'GroupColumnDefBase' from external module "/.../@tanstack/table-core/build/lib/types" but cannot be named.

Exporting this variable resolves this issue

Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

Yes

Terms & Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
@thescripted thescripted linked a pull request May 6, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant