Skip to content

Commit

Permalink
Updated docs for getServerSideProps and getStaticProps return values …
Browse files Browse the repository at this point in the history
…based on the declared type (fix #33576)
  • Loading branch information
vadi-toptal committed Jan 23, 2022
1 parent f81a6a5 commit 8bf755d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/api-reference/data-fetching/get-server-side-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The `context` parameter is an object containing the following keys:

## getServerSideProps return values

The `getServerSideProps` function should return an object with the following **optional** properties:
The `getServerSideProps` function should return an object with **any one of the following** properties:

### `props`

Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/data-fetching/get-static-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The `context` parameter is an object containing the following keys:

## getStaticProps return values

The `getStaticProps` function should return an object with the following **optional** properties:
The `getStaticProps` function should return object with **any one of the following** properties:

### `props`

Expand Down

0 comments on commit 8bf755d

Please sign in to comment.