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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -