Skip to content

Commit

Permalink
Merge pull request #858 from Jamesgt/fix-typo-in-docs
Browse files Browse the repository at this point in the history
Fix typo in docs
  • Loading branch information
samchon authored Nov 2, 2023
2 parents 42a488c + e3fdb98 commit ec9159c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/pages/docs/validators/tags.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ interface CustomTag {
*
* In here case, format can be oneof `ipv4` or `ipv6` format.
*/
format: (string & (tags.Format<"ipv4"> | tags.Format<"ivp6">)) | null;
format: (string & (tags.Format<"ipv4"> | tags.Format<"ipv6">)) | null;

/**
* In the Array case, only type tag can restrict element type.
Expand Down Expand Up @@ -211,7 +211,7 @@ interface CustomTag {
*
* In here case, format can be oneof `ipv4` or `ipv6` format.
*/
format: (string & (tags.Format<"ipv4"> | tags.Format<"ivp6">)) | null;
format: (string & (tags.Format<"ipv4"> | tags.Format<"ipv6">)) | null;

/**
* In the Array case, only type tag can restrict element type.
Expand Down Expand Up @@ -393,7 +393,7 @@ interface CustomTag {
// *
// * In here case, format can be oneof `ipv4` or `ipv6` format.
// */
// format: (string & (tags.Format<"ipv4"> | tags.Format<"ivp6">)) | null;
// format: (string & (tags.Format<"ipv4"> | tags.Format<"ipv6">)) | null;

// NO WAY WHEN COMMENT TAG
// /**
Expand Down

0 comments on commit ec9159c

Please sign in to comment.