Trouble setting language config for Select extension
Trouble setting language config for Select extension

Error messages shown: Object literal may only specify known properties, and 'select' does not exist in type 'ConfigLanguage'. ts(2353)
I'm using the latest version of DataTables (datatables.net-bs5@2.3.2
according to npm) in my Angular project, which requires me to use TypeScript. After setting up the table, I started looking for extensions and found a couple that suited my needs. However, when I tried to apply the language configuration for those extensions (specifically Select
), I got the error above. Of course, I could use as any
to make TypeScript shut up about it, but that feels wrong (at least to me). Does it really have to be that way, or am I setting things up incorrectly?
This question has an accepted answers - jump to answer
Answers
Apologies, it looks like I missed adding the typescript information for those properties. I'll add a commit for that shortly and post back when done.
Allan
Fix committed here. I'll get a new release out soon
.
Allan
Appreciate it, Allan.