@types/jsdom-global
Version:
TypeScript definitions for jsdom-global
32 lines (23 loc) • 1.12 kB
Markdown
# Installation
> `npm install --save @types/jsdom-global`
# Summary
This package contains type definitions for jsdom-global (https://www.npmjs.com/package/jsdom-global).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsdom-global.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsdom-global/index.d.ts)
````ts
// Type definitions for jsdom-global 3.0
// Project: https://www.npmjs.com/package/jsdom-global
// Definitions by: Max Boguslavskiy <https://github.com/maxbogus>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 4.5
import { ConstructorOptions } from 'jsdom';
export = jsdomGlobal;
declare function jsdomGlobal(html?: string | Buffer, options?: ConstructorOptions): () => void;
````
### Additional Details
* Last updated: Mon, 03 Oct 2022 21:33:17 GMT
* Dependencies: [@types/jsdom](https://npmjs.com/package/@types/jsdom)
* Global values: none
# Credits
These definitions were written by [Max Boguslavskiy](https://github.com/maxbogus).