Typescript error after upgrade to 2.1.2
Typescript error after upgrade to 2.1.2

Hello,
We're getting some TS errors after upgrading from 2.0.8 to 2.1.2:
npx tsc
Error: node_modules/datatables.net/types/types.d.ts(2762,5): error TS7010: 'use', which lacks return-type annotation, implicitly has an 'any' return type.
Error: node_modules/datatables.net/types/types.d.ts(2768,5): error TS7010: 'use', which lacks return-type annotation, implicitly has an 'any' return type.
Error: node_modules/datatables.net/types/types.d.ts(2777,5): error TS7010: 'use', which lacks return-type annotation, implicitly has an 'any' return type.
Error: Process completed with exit code 2.
Could those use
definitions have return types added to them?
Answers
Thank you - that was well timed, I'm going to do the 2.1.3 later today
. Fix committed here.
Allan
That did it, thanks!