diff --git a/src/utils/services/types.ts b/src/utils/services/types.ts index 9f5f9225..36f2fe82 100644 --- a/src/utils/services/types.ts +++ b/src/utils/services/types.ts @@ -86,7 +86,7 @@ interface InvalidArgumentError extends ProblemDetailsError { interface InvalidShortUrlDeletion extends ProblemDetailsError { type: 'INVALID_SHORTCODE_DELETION'; - threshold?: number; + threshold: number; } export const isInvalidArgumentError = (error?: ProblemDetailsError): error is InvalidArgumentError =>