TS2339 error, Typescript

TS2339 error, Typescript

3000volt3000volt Posts: 4Questions: 2Answers: 0

I have this error : TS2339: Property 'DataTable' does not exist on type 'JQuery<HTMLElement>' ,
Anyone know, how can I fix this error!

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,143Questions: 1Answers: 2,586
    Answer ✓

    Hi @3000volt ,

    Try require as in the example here. If that doesn't help, these two threads (here and here) should help diagnose,

    Cheers,

    Colin

  • 3000volt3000volt Posts: 4Questions: 2Answers: 0

    thanks colin, now the error is corrected

This discussion has been closed.