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

Sign In or Register to comment.