2016-08-26 06:27:03 +08:00
|
|
|
/**
|
2022-10-18 23:19:24 +08:00
|
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
2016-08-26 06:27:03 +08:00
|
|
|
*
|
2017-09-25 04:48:13 +08:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2016-08-26 06:27:03 +08:00
|
|
|
*
|
|
|
|
|
* @flow
|
|
|
|
|
*/
|
|
|
|
|
|
2022-09-10 04:03:48 +08:00
|
|
|
export type Source = {
|
2016-08-26 06:27:03 +08:00
|
|
|
fileName: string,
|
|
|
|
|
lineNumber: number,
|
2022-09-10 04:03:48 +08:00
|
|
|
};
|
2016-08-26 06:27:03 +08:00
|
|
|
|
2022-09-10 04:03:48 +08:00
|
|
|
export type ReactElement = {
|
2016-08-26 06:27:03 +08:00
|
|
|
$$typeof: any,
|
|
|
|
|
type: any,
|
|
|
|
|
key: any,
|
|
|
|
|
ref: any,
|
|
|
|
|
props: any,
|
2020-01-09 22:50:44 +08:00
|
|
|
// ReactFiber
|
|
|
|
|
_owner: any,
|
2016-08-26 06:27:03 +08:00
|
|
|
|
|
|
|
|
// __DEV__
|
2020-01-09 22:50:44 +08:00
|
|
|
_store: {validated: boolean, ...},
|
2017-08-29 05:39:58 +08:00
|
|
|
_self: React$Element<any>,
|
2016-08-26 06:27:03 +08:00
|
|
|
_shadowChildren: any,
|
|
|
|
|
_source: Source,
|
2022-09-10 04:03:48 +08:00
|
|
|
};
|