UNPKG

@types/jsdom-global

Version:
25 lines (17 loc) 833 B
# 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 import { ConstructorOptions } from "jsdom"; export = jsdomGlobal; declare function jsdomGlobal(html?: string | Buffer, options?: ConstructorOptions): () => void; ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 03:09:37 GMT * Dependencies: [@types/jsdom](https://npmjs.com/package/@types/jsdom) # Credits These definitions were written by [Max Boguslavskiy](https://github.com/maxbogus).