Skip to content

Commit

Permalink
Update docs/basic-features/typescript.md
Browse files Browse the repository at this point in the history
Co-Authored-By: Luis Alvarez D. <luis@zeit.co>
  • Loading branch information
chibicode and Luis Alvarez D. authored Jan 30, 2020
1 parent 26ecfcd commit 5ac68ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/basic-features/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export default (req: NextApiRequest, res: NextApiResponse<Data>) => {

## Custom `App`

If you’d like to [customize the `App` component](/docs/advanced-features/custom-app) in TypeScript, create `pages/_app.tsx`:
If you have a [custom `App` ](/docs/advanced-features/custom-app), you can use the built-in type `AppProps`, like so:

```ts
import { AppProps } from 'next/app'
Expand Down

0 comments on commit 5ac68ec

Please sign in to comment.