mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
ede74e5936
Summary: Cleans up the `ExtendedError` internal type and moves it into a separate module instead of burying it in `parseErrorStack.js`. Also, this resolves some unnecessary Flow type suppressions. Changelog: [Internal] Reviewed By: GijsWeterings Differential Revision: D28470299 fbshipit-source-id: 04093243f06f67f41567270ef9778f01c7549b05
19 lines
404 B
JavaScript
19 lines
404 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow strict
|
|
* @format
|
|
*/
|
|
|
|
export type ExtendedError = Error & {
|
|
jsEngine?: string,
|
|
preventSymbolication?: boolean,
|
|
componentStack?: string,
|
|
forceRedbox?: boolean,
|
|
isComponentError?: boolean,
|
|
...
|
|
};
|