We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71fab2a commit 87803a9Copy full SHA for 87803a9
package.json
@@ -36,6 +36,8 @@
36
},
37
"main": "lib/xhr2.js",
38
"browser": "lib/browser.js",
39
+ "typings": "xhr2.d.ts",
40
+ "typescript": { "definition": "xhr2.d.ts" },
41
"directories": {
42
"doc": "doc",
43
"lib": "lib",
xhr2.d.ts
@@ -0,0 +1,3 @@
1
+export class XMLHttpRequest {
2
+ nodejsSet(url: any): any;
3
+}
0 commit comments