diff --git a/src/superstruct.ts b/src/superstruct.ts index 0bb8e6568..3e0e7a085 100644 --- a/src/superstruct.ts +++ b/src/superstruct.ts @@ -132,7 +132,7 @@ export function definePattern( * @param value - The value to be validated. * @returns A boolean indicating if the value is a valid URL. */ -export const UrlStruct = define('Url', (value: unknown) => { +export const UrlStruct = define('Url', (value: unknown) => { let url; try {