diff --git a/types/Error.ts b/types/Error.ts index e1a6e2f..4b2593b 100644 --- a/types/Error.ts +++ b/types/Error.ts @@ -36,6 +36,9 @@ export interface HubSpotHttpErrorContext extends FileSystemErrorContext { projectName?: string; } +// TODO: Remove in next major release +export type OptionalError = BaseError | null | undefined; + export type ErrorContext = { accountId?: number; };