mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Replaced $FlowFixMe in CodegenTypes
Summary: Changelog: [General][Changed] Replaced $FlowFixMe in CodegenTypes with Object type Reviewed By: elicwhite, rshest Differential Revision: D68327690 fbshipit-source-id: 34b354cd52c786788e86cc4bd7723ddf1e3881fc
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8df6cfa56b
commit
812c3b33cd
+2
-1
@@ -29,7 +29,8 @@ export type DirectEventHandler<
|
||||
export type Double = number;
|
||||
export type Float = number;
|
||||
export type Int32 = number;
|
||||
export type UnsafeObject = $FlowFixMe; // Object is forbidden in strict mode
|
||||
/* $FlowFixMe[unclear-type] Object is forbidden in strict mode */
|
||||
export type UnsafeObject = Object;
|
||||
export type UnsafeMixed = mixed;
|
||||
|
||||
type DefaultTypes = number | boolean | string | $ReadOnlyArray<string>;
|
||||
|
||||
@@ -8591,7 +8591,7 @@ export type DirectEventHandler<T, PaperName: string | empty = empty> = (
|
||||
export type Double = number;
|
||||
export type Float = number;
|
||||
export type Int32 = number;
|
||||
export type UnsafeObject = $FlowFixMe;
|
||||
export type UnsafeObject = Object;
|
||||
export type UnsafeMixed = mixed;
|
||||
type DefaultTypes = number | boolean | string | $ReadOnlyArray<string>;
|
||||
export type WithDefault<Type: DefaultTypes, Value: ?Type | string> = ?Type;
|
||||
|
||||
Reference in New Issue
Block a user