diff --git a/src/types/onyx/Policy.ts b/src/types/onyx/Policy.ts index 5a1eddefa5dc..ad3235d4eea4 100644 --- a/src/types/onyx/Policy.ts +++ b/src/types/onyx/Policy.ts @@ -11,7 +11,7 @@ type Rate = { customUnitRateID?: string; errors?: OnyxCommon.Errors; pendingAction?: OnyxCommon.PendingAction; - enabled: boolean; + enabled?: boolean; }; type Attributes = { @@ -23,8 +23,8 @@ type CustomUnit = { customUnitID: string; attributes: Attributes; rates: Record; - defaultCategory: string; - enabled: boolean; + defaultCategory?: string; + enabled?: boolean; pendingAction?: OnyxCommon.PendingAction; errors?: OnyxCommon.Errors; };