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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -