mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50223 This is an implementation detail of React and better not make it leak everywhere. It's not used quite often even in react-native codebase, so it's better to just suppress the error on each call site. Currently it's typed as any, so there is not much type safety lost anyways. Changelog: [Internal] Reviewed By: alexmckenley Differential Revision: D71687426 fbshipit-source-id: 7373bcd9bedcfcb95a10fa02e6a04399ccab91f0
22 lines
695 B
JavaScript
22 lines
695 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 expected 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;
|