T
TanStack2y ago
generous-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
generous-apricot
generous-apricotOP2y ago
no one has this error? i downgraded to 8.9.11 and used next build, error went away. @Maintainer - Table
rising-crimson
rising-crimson2y 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.
generous-apricot
generous-apricotOP2y ago
i have "skipLibCheck": true, on my tsconfig. it's weird it still checks for libraries
rising-crimson
rising-crimson2y ago
I think this is one of the few instances in typescript that cannot transpile to older syntax

Did you find this page helpful?