Installation
npm install --save @types/confusing-browser-globals
Summary
This package contains type definitions for confusing-browser-globals (https://github.com/facebook/create-react-app/tree/master/packages/confusing-browser-globals#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/confusing-browser-globals.
type ConfusingGlobal =
| "addEventListener"
| "blur"
| "close"
| "closed"
| "confirm"
| "defaultStatus"
| "defaultstatus"
| "event"
| "external"
| "find"
| "focus"
| "frameElement"
| "frames"
| "history"
| "innerHeight"
| "innerWidth"
| "length"
| "location"
| "locationbar"
| "menubar"
| "moveBy"
| "moveTo"
| "name"
| "onblur"
| "onerror"
| "onfocus"
| "onload"
| "onresize"
| "onunload"
| "open"
| "opener"
| "opera"
| "outerHeight"
| "outerWidth"
| "pageXOffset"
| "pageYOffset"
| "parent"
| "print"
| "removeEventListener"
| "resizeBy"
| "resizeTo"
| "screen"
| "screenLeft"
| "screenTop"
| "screenX"
| "screenY"
| "scroll"
| "scrollbars"
| "scrollBy"
| "scrollTo"
| "scrollX"
| "scrollY"
| "self"
| "status"
| "statusbar"
| "stop"
| "toolbar"
| "top";
declare const ConfusingGlobals: ConfusingGlobal[];
/**
* A curated list of browser globals that commonly cause confusion
* and are not recommended to use without an explicit window. qualifier.
*/
export = ConfusingGlobals;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: none
Credits
These definitions were written by Piotr Błażejewicz.