diff --git a/src/types/onyx/PolicyCategory.ts b/src/types/onyx/PolicyCategory.ts index 03d5877bc5b5..4bc926e21419 100644 --- a/src/types/onyx/PolicyCategory.ts +++ b/src/types/onyx/PolicyCategory.ts @@ -1,3 +1,5 @@ +import type * as OnyxCommon from './OnyxCommon'; + type PolicyCategory = { /** Name of a category */ name: string; @@ -17,6 +19,9 @@ type PolicyCategory = { /** The external accounting service that this category comes from */ origin: string; + + /** A list of errors keyed by microtime */ + errors?: OnyxCommon.Errors; }; type PolicyCategories = Record;