I'm creating a bit.dev collection with components I have in a Next.js + TS project. I have errors trying to upload to my collection components that depend on my react-table-config.d.ts
file. Some react-table properties I use don't exist due to the isolation process, which bit.dev use to create the components. I suppose the error has to be related to the dependency graph of bit.dev that doesn't recognize my .d.ts file.
For example, columns of react-table contain the fieldValue
property. I have a component that iterates through the columns and uses the property. One of the many errors that bit build
shows me is this one:
Property filterValue does not exist on type 'ColumnInstance<T>'
As you can see, bit.dev doesn't recognize my extension of types definitions for react-table
. Which configuration do I need to allow bit.dev use my react-table-config.d.ts
file when adding the components to my collections and avoid the error?
没有评论:
发表评论