File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44/// <reference path="misc.d.ts" />
55/// <reference path="legacy.d.ts" />
66
7- export = jQuery ;
7+ // Export it as UMD, not global
8+ export as namespace $ ;
9+
10+ declare const $ : JQueryStatic ;
11+ export = $ ;
Original file line number Diff line number Diff line change @@ -7333,8 +7333,9 @@ $( "#checkMetaKey" ).click(function( event ) {
73337333 type _Falsy = false | null | undefined | 0 | "" | typeof document . all ;
73347334}
73357335
7336- declare const jQuery : JQueryStatic ;
7337- declare const $ : JQueryStatic ;
7336+ // Don't expose global ambient symbols
7337+ // declare const jQuery: JQueryStatic;
7338+ // declare const $: JQueryStatic;
73387339
73397340type _Event = Event ;
73407341type _UIEvent = UIEvent ;
Original file line number Diff line number Diff line change 11{
2- "private" : true ,
3- "name" : " @types/jquery" ,
2+ "name" : " @ionweb/types-jquery" ,
43 "version" : " 3.5.9999" ,
54 "projects" : [
65 " https://jquery.com"
76 ],
87 "dependencies" : {
98 "@types/sizzle" : " *"
109 },
11- "devDependencies" : {
12- "@types/jquery" : " workspace:."
13- },
1410 "owners" : [
1511 {
1612 "name" : " Leonard Thieu" ,
You can’t perform that action at this time.
0 commit comments