diff --git a/packages/playground/src/utils/validators.ts b/packages/playground/src/utils/validators.ts index 730aa3dae5..d86819fa2f 100644 --- a/packages/playground/src/utils/validators.ts +++ b/packages/playground/src/utils/validators.ts @@ -706,7 +706,7 @@ export function isString(msg: string) { } export function ipNotEqualGateway(ip: string, gw: string, msg: string) { - return () => { + return (value: string) => { const address = ip.split("/")[0]; if (gw === address) { return { message: msg, isNotEqualStrings: true };