Problem with defintion file of datatables.net-buttons after updating to 2.4.2

Problem with defintion file of datatables.net-buttons after updating to 2.4.2

MBGMBG Posts: 1Questions: 0Answers: 0

Good morning,

After running an update of my packages using npm I updated the package datatables.net-buttons from 2.3.3 to 2.4.2 and I'm getting the following error:

\node_modules\datatables.net-buttons\types\types.d.ts(70,3): Error TS2717: Build:Subsequent property declarations must have the same type. Property 'buttons' must be of type '{ [key: string]: object; }', but here has type 'ExtButtons'

I have the following settings in my compilerOptions of typescript:
...
"module": "es6",
"moduleResolution": "node",
"lib": [ "dom", "es6" ],
...

There is a bug in this version?

Replies

  • allanallan Posts: 63,451Questions: 1Answers: 10,465 Site admin

    I'm not immediately seeing that error in this little Typescript test.

    Can you create an example using that Playground, Stackbltiz, or a minimal git repo showing the issue so I can look into it please?

    Thanks,
    Allan

Sign In or Register to comment.