Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
6faf0d18
Commit
6faf0d18
authored
Jul 22, 2019
by
ikeryo1182
Committed by
Luis Fernando Alvarez D
Jul 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix userAgent type error in README.md (#8048)
parent
1d8ff1d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
packages/next/README.md
+2
-2
No files found.
packages/next/README.md
View file @
6faf0d18
...
@@ -2182,7 +2182,7 @@ Next.js provides `NextPage` type that can be used for pages in the `pages` direc
...
@@ -2182,7 +2182,7 @@ Next.js provides `NextPage` type that can be used for pages in the `pages` direc
import { NextPage } from 'next'
import { NextPage } from 'next'
interface Props {
interface Props {
userAgent: string
userAgent
?
: string
}
}
const Page: NextPage
<Props>
= ({ userAgent }) => (
const Page: NextPage
<Props>
= ({ userAgent }) => (
...
@@ -2213,7 +2213,7 @@ import React from 'react'
...
@@ -2213,7 +2213,7 @@ import React from 'react'
import { NextPageContext } from 'next'
import { NextPageContext } from 'next'
interface Props {
interface Props {
userAgent: string
userAgent
?
: string
}
}
export default class Page extends React.Component
<Props>
{
export default class Page extends React.Component
<Props>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment