Skip to content

[v8] ColumnMeta in module declaration giving other errors now #4157

Answered by AzzouQ
marceloverdijk asked this question in Q&A
Discussion options

You must be logged in to vote

Don't forget to import @tanstack/react-table otherwise everything will be typed as any except ColumnMeta.

import '@tanstack/react-table';

declare module '@tanstack/react-table' {
  interface ColumnMeta {
    className?: string
  }
}

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@marceloverdijk
Comment options

@AzzouQ
Comment options

@marceloverdijk
Comment options

Answer selected by marceloverdijk
Comment options

You must be logged in to vote
3 replies
@Jennifer-JY-Lee
Comment options

@amocarski
Comment options

@valajczech
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants