angular - Upgrade JQuery version 3.2 typing file,it's throws lint error -


in application, have used interface below.it's works fine in jquery 2.0

interface jquery{ data(key: any): any; } 

when upgrade version jquery 3.2,it's throws below lint errors.

all declarations of 'jquery' must have identical type parameters. interface jquery namespace jquery

typescript version: 2.3

how resolved issue or modify interface?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -