T
TanStack3y ago
frail-apricot

Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a

I'm getting and error during "next build" at ./node_modules/@tanstack/table-core/src/features/Pinning.ts:220:18
No description
4 Replies
frail-apricot
frail-apricotOP3y ago
no one has this error? i downgraded to 8.9.11 and used next build, error went away. @Maintainer - Table
jolly-crimson
jolly-crimson3y ago
yeah looks like this happened for anyone not using es2016 compile targets or newer. Just pushed a fix in a couple places in tanstack table.
frail-apricot
frail-apricotOP3y ago
i have "skipLibCheck": true, on my tsconfig. it's weird it still checks for libraries
jolly-crimson
jolly-crimson3y ago
I think this is one of the few instances in typescript that cannot transpile to older syntax

Did you find this page helpful?