diff --git a/src/utils/types/typeGuards.ts b/src/utils/types/typeGuards.ts index d60bb062..c351c266 100644 --- a/src/utils/types/typeGuards.ts +++ b/src/utils/types/typeGuards.ts @@ -1,6 +1,6 @@ import { isNumber, isString } from 'ts-type-guards'; import { StringOrNumber } from './types'; -export const isStringOrNumber = (x: any): x is StringOrNumber => { +export const isStringOrNumber = (x: unknown): x is StringOrNumber => { return isString(x) || isNumber(x); };