Skip to content

Commit

Permalink
make them optional
Browse files Browse the repository at this point in the history
  • Loading branch information
luacmartins committed Feb 21, 2024
1 parent 6e49c7c commit 566c0e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/types/onyx/Policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type Rate = {
customUnitRateID?: string;
errors?: OnyxCommon.Errors;
pendingAction?: OnyxCommon.PendingAction;
enabled: boolean;
enabled?: boolean;
};

type Attributes = {
Expand All @@ -23,8 +23,8 @@ type CustomUnit = {
customUnitID: string;
attributes: Attributes;
rates: Record<string, Rate>;
defaultCategory: string;
enabled: boolean;
defaultCategory?: string;
enabled?: boolean;
pendingAction?: OnyxCommon.PendingAction;
errors?: OnyxCommon.Errors;
};
Expand Down

0 comments on commit 566c0e8

Please sign in to comment.