Typescript error after upgrade to 2.1.2

Typescript error after upgrade to 2.1.2

DawidJDawidJ Posts: 2Questions: 1Answers: 0

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

  • allanallan Posts: 63,441Questions: 1Answers: 10,459 Site admin

    Thank you - that was well timed, I'm going to do the 2.1.3 later today :). Fix committed here.

    Allan

  • DawidJDawidJ Posts: 2Questions: 1Answers: 0

    That did it, thanks!

Sign In or Register to comment.