Why are the types wrong for datatables.net-select v2.1.0?
Why are the types wrong for datatables.net-select v2.1.0?
panchopuncho
Posts: 2Questions: 1Answers: 0
Install datatables.net-select@2.1.0 and try to compile with TypeScript.
See error failing compilation: Module '"datatables.net"' has no exported member 'ObjectColumnRender'. Did you mean to use 'import ObjectColumnRender from "datatables.net"' instead?
As the warning states, the ObjectColumnRender is not exported on datatables.net.
This question has an accepted answers - jump to answer
Answers
Apologies - I used an interface name which wasn't exported. It was reported here and fixed here.
The fix will be in DataTables 2.1.8 which I expect to ship next week.
Allan
Perfect. Much appreciated