Skip to content

Commit

Permalink
docs(nextjs): change typo from js to ts (#5217)
Browse files Browse the repository at this point in the history
  • Loading branch information
adalbertopc committed Aug 26, 2022
1 parent d980fa9 commit c57a810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/configuration/nextjs.md
Expand Up @@ -12,7 +12,7 @@ Otherwise, if you only want to get the session token, see [`getToken`](/tutorial

`unstable_getServerSession` requires passing the same object you would pass to `NextAuth` when initializing NextAuth.js. To do so, you can export your NextAuth.js options in the following way:

In `[...nextauth].js`:
In `[...nextauth].ts`:
```ts
import { NextAuth } from 'next-auth'
import type { NextAuthOptions } from 'next-auth'
Expand Down

1 comment on commit c57a810

@vercel
Copy link

@vercel vercel bot commented on c57a810 Aug 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.