Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
fix: bundler type (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
montelaidev authored Mar 14, 2024
1 parent aa45d07 commit 227136e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/superstruct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>('Url', (value: unknown) => {
let url;

try {
Expand Down

0 comments on commit 227136e

Please sign in to comment.