Error- 'TData' is defined but never used.eslint@typescript-eslint/no-unused-vars #5222
Unanswered
kcalderon37
asked this question in
Q&A
Replies: 1 comment
-
Yes I'm also facing this issue and like you I've had to ignore the issue. It would be nice if we could get this fixed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm encountering issues while declaring an interface and receiving errors related to TData and TValue. I followed the same structure as the example below:
import '@tanstack/react-table'
declare module '@tanstack/table-core' {
interface ColumnMeta<TData extends RowData, TValue> {
foo: string
}
}
The issues are like:
"All type parameters are unused.ts(6205)
'TData' is defined but never used.eslint@typescript-eslint/no-unused-vars
'TData' is defined but never used.eslintno-unused-vars
(type parameter) TData in ColumnMeta<TData extends unknown, TValue>"
the only solution for now is adding comment:
// eslint-disable-next-line @typescript-eslint/no-unused-vars, no-unused-vars
Im using version: 8.10.7. Is anyone else experiencing the same issue?
Beta Was this translation helpful? Give feedback.
All reactions