happy-dom
Version:
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
15 lines • 409 B
TypeScript
/// <reference types="node" resolution-mode="require"/>
import { URL } from 'url';
/**
* Fetch CORS utility.
*/
export default class FetchCORSUtility {
/**
* Validates request headers.
*
* @param originURL Origin URL.
* @param targetURL Target URL.
*/
static isCORS(originURL: URL | string, targetURL: URL | string): boolean;
}
//# sourceMappingURL=FetchCORSUtility.d.ts.map