The built in types for Deno do not include the XMLHttpRequest
and
associated types, so if you are type checking your code and get errors about
them not being defined, there are a couple of solutions.
If all you want to do is "polyfill" the types, they are available here under
./globals
export. You can either import them like:
import type {} from "jsr:/@kitsonk/xhr/globals";
Or using the triple slash reference like:
/// <reference types="jsr:/@kitsonk/xhr/globals" />
This module does not provide any exports.