From ac83b78dbf956052478569f02646d2e44755163b Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Thu, 22 Apr 2021 15:57:53 +0700 Subject: [PATCH] Update index.ts --- source/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/index.ts b/source/index.ts index d63dcdc..c05fca4 100644 --- a/source/index.ts +++ b/source/index.ts @@ -388,7 +388,7 @@ is.any = (predicate: Predicate | Predicate[], ...values: unknown[]): boolean => is.all = (predicate: Predicate, ...values: unknown[]): boolean => predicateOnArray(Array.prototype.every, predicate, values); -const assertType = (condition: boolean, description: string, value: unknown, options: { multipleValues?: boolean } = {}): asserts condition => { +const assertType = (condition: boolean, description: string, value: unknown, options: {multipleValues?: boolean} = {}): asserts condition => { if (!condition) { const {multipleValues} = options; const valuesMessage = multipleValues ?