Template/types/GM_xmlhttpRequest.d.js
Snoweuph b18f2334a1
All checks were successful
QS / QS (push) Successful in 5s
Setup
2024-12-21 15:52:55 +01:00

16 lines
479 B
JavaScript

/**
* @param {Object} request
* @param {string} request.method
* @param {string} request.url
* @param {Object<string, string>} [request.headers]
* @param {function(GMXMLHttpRequestResponse):void} [request.onload]
* @param {Function} [request.onerror]
* @returns {void}
*/
function GM_xmlhttpRequest(request) {}
/**
* Response object for the HTTP request.
* @typedef {Object} GMXMLHttpRequestResponse
* @property {string} responseText - The response body as text.
*/