Skip to content

Commit 4c4c4a0

Browse files
Merge pull request #1274 from y13i/fix-typo-flavor
Fix typo in docs for flavor
2 parents 849ebb9 + 6e408cd commit 4c4c4a0

File tree

1 file changed

+1
-1
lines changed
  • website/src/routes/api/(actions)/flavor

1 file changed

+1
-1
lines changed

website/src/routes/api/(actions)/flavor/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const Action = v.flavor<TInput, TName>(name);
3232

3333
`flavor` is a less strict version of <Link href='../brand/'>`brand`</Link> that allows you to flavor the output type of a schema with a `name`. Data is considered valid if it's type is unflavored or has been validated by a schema that has the same flavor.
3434

35-
> `falvor` can also be used as a TypeScript DX hack to improve the editor's autocompletion by displaying only literal types, but still allowing the unflavored root type to be passed.
35+
> `flavor` can also be used as a TypeScript DX hack to improve the editor's autocompletion by displaying only literal types, but still allowing the unflavored root type to be passed.
3636
3737
## Returns
3838

0 commit comments

Comments
 (0)