From e4b915e7c8af9419a4eeeca16e79044b46b2ef72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Sat, 6 Jan 2024 20:34:53 +0100 Subject: [PATCH] Update src/index.ts --- src/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index e5656cb..5165caf 100644 --- a/src/index.ts +++ b/src/index.ts @@ -129,7 +129,6 @@ export function inspect(value: unknown, opts: Partial = {}): string { if (type === 'object') { type = toString.call(value).slice(8, -1) } - // If it is a base value that we already support, then use Loupe's inspector if (type in baseTypesMap) { return (baseTypesMap[type as keyof typeof baseTypesMap] as Inspect)(value, options)