Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ function updateErrorWithErrorData(
return Object.assign(error, errorData || {});
}

let NativeModules: {[moduleName: string]: $FlowFixMe, ...} = {};
/* $FlowFixMe[unclear-type] unclear type of NativeModules */
let NativeModules: {[moduleName: string]: any, ...} = {};
if (global.nativeModuleProxy) {
NativeModules = global.nativeModuleProxy;
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,7 @@ exports[`public API should not change unintentionally Libraries/BatchedBridge/Na
?$ReadOnlyArray<number>,
];
export type MethodType = \\"async\\" | \\"promise\\" | \\"sync\\";
declare let NativeModules: { [moduleName: string]: $FlowFixMe, ... };
declare let NativeModules: { [moduleName: string]: any, ... };
declare module.exports: NativeModules;
"
`;
Expand Down