Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
igorkamyshev committed Jul 30, 2024
1 parent 7688347 commit 8c697ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

/dist
/coverage
pnpm-lock.yaml
pnpm-lock.yaml
api.md
4 changes: 2 additions & 2 deletions packages/contracts/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export function and<T>(

/**
* Function that creates a _Contract_ that checks if a value is object and every property is conform to the given _Contract_.
*
*
* @overload "rec(str, contract)"
*
* @example
Expand All @@ -181,7 +181,7 @@ export function rec<V>(
* Function that creates a _Contract_ that checks if a value is conform to an object with the given _Contracts_ as properties.
*
* @overload "rec(shape)"
*
*
* @example
* const User = rec({
* name: str,
Expand Down

0 comments on commit 8c697ce

Please sign in to comment.