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:
Dawid Małecki
2025-01-20 05:30:39 -08:00
committed by Facebook GitHub Bot
parent 8df6cfa56b
commit 812c3b33cd
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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;