mirror of
https://github.com/facebook/react-native.git
synced 2024-11-22 06:29:46 +00:00
b8425c8ee5
Summary: Sometime over the past few months (and with changes such as migrating to the `hermes-eslint` parser), a bunch of lint warnings crept into the codebase. This does a pass to clean them all up, ignore generated files, and refactor some code to be... better. There should be no observable behavior changes as a result of this. Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D38646643 fbshipit-source-id: a7b55d1e4cd5700340cc5c21f928baf3ea1d5a58
26 lines
792 B
JavaScript
26 lines
792 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
* @flow strict
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
// NOTE: Hmm... I don't think declaring variables within this module actually
|
|
// accomplishes anything besides documenting that these globals are exepcted to
|
|
// exist. So I think the correct "fix" to this lint warning is to delete this
|
|
// entire file. But in lieu of doing that... no harm for now in keeping this
|
|
// file around, even if it is only for documentation purposes. ¯\_(ツ)_/¯
|
|
|
|
/* eslint-disable no-unused-vars */
|
|
|
|
declare var __DEV__: boolean;
|
|
|
|
declare var __REACT_DEVTOOLS_GLOBAL_HOOK__: any; /*?{
|
|
inject: ?((stuff: Object) => void)
|
|
};*/
|