mirror of
https://github.com/status-im/react-native.git
synced 2025-01-12 18:44:25 +00:00
5023b105e4
Summary: Switches to the `nullthrows` package instead of using `fbjs/lib/nullthrows`. The version of `nullthrows` in `fbjs` is outdated and already missing features that exist in the standalone `nullthrows` package. Also, this mitigates the inevitable collision between `nullthrows` (as a Haste module) and `nullthrows` (as a `node_modules` dependency). Reviewed By: zertosh Differential Revision: D9733178 fbshipit-source-id: 1b589d48c1ed57cebf2088b796ad72e212534c0a
17 lines
347 B
JavaScript
17 lines
347 B
JavaScript
/**
|
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
*/
|
|
|
|
declare module 'fbjs/lib/invariant' {
|
|
declare module.exports: <T>(
|
|
condition: any,
|
|
message: string,
|
|
...args: Array<any>
|
|
) => void;
|
|
}
|