Deprecate Explorer Properties (#535)

This commit is contained in:
Steve Faulkner
2021-03-10 23:02:55 -06:00
committed by GitHub
parent 184910ee6c
commit 62550f8d6a
6 changed files with 217 additions and 125 deletions

13
src/global.d.ts vendored
View File

@@ -1,11 +1,22 @@
import { AuthType } from "./AuthType";
import Explorer from "./Explorer/Explorer";
declare global {
interface Window {
/**
* @deprecated
* DO NOT take new usage of window.dataExplorer. If you must use Explorer, find it directly.
* */
dataExplorer: Explorer;
__REACT_DEVTOOLS_GLOBAL_HOOK__: any;
/**
* @deprecated
* No new usage of jQuery ($)
* */
$: any;
/**
* @deprecated
* No new usage of jQuery
* */
jQuery: any;
gitSha: string;
}