Skip to content

Commit

Permalink
Update src/index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristján Oddsson authored Jan 6, 2024
1 parent 2d4d8bf commit e4b915e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ export function inspect(value: unknown, opts: Partial<Options> = {}): 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)
Expand Down

0 comments on commit e4b915e

Please sign in to comment.