UNPKG

1.12 kBMarkdownView Raw
1# Installation
2> `npm install --save @types/jsdom-global`
3
4# Summary
5This package contains type definitions for jsdom-global (https://www.npmjs.com/package/jsdom-global).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsdom-global.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsdom-global/index.d.ts)
10````ts
11// Type definitions for jsdom-global 3.0
12// Project: https://www.npmjs.com/package/jsdom-global
13// Definitions by: Max Boguslavskiy <https://github.com/maxbogus>
14// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
15// Minimum TypeScript Version: 4.5
16
17import { ConstructorOptions } from 'jsdom';
18
19export = jsdomGlobal;
20
21declare function jsdomGlobal(html?: string | Buffer, options?: ConstructorOptions): () => void;
22
23````
24
25### Additional Details
26 * Last updated: Mon, 03 Oct 2022 21:33:17 GMT
27 * Dependencies: [@types/jsdom](https://npmjs.com/package/@types/jsdom)
28 * Global values: none
29
30# Credits
31These definitions were written by [Max Boguslavskiy](https://github.com/maxbogus).
32
\No newline at end of file