Skip to content

Commit

Permalink
fix linting as a result of tsconfig changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pooyaj committed Dec 7, 2022
1 parent 2a9c66e commit 01849dd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/browser/src/plugins/validation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ export function isFunction(obj: unknown): obj is Function {
return typeof obj === 'function'
}

export function isPlainObject(
obj: unknown
): obj is Record<string | symbol | number, any> {
export function isPlainObject(obj: unknown): obj is Record<string, any> {
return (
Object.prototype.toString.call(obj).slice(8, -1).toLowerCase() === 'object'
)
Expand Down

0 comments on commit 01849dd

Please sign in to comment.