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
3746d7d9
Commit
3746d7d9
authored
Feb 11, 2019
by
Resi Respati
Committed by
Tim Neutkens
Feb 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[with-typescript] Fixed incorrect query type (#6238)
parent
8ddf9c7f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
detail.tsx
examples/with-typescript/pages/detail.tsx
+1
-1
tsconfig.json
examples/with-typescript/tsconfig.json
+1
-0
No files found.
examples/with-typescript/pages/detail.tsx
View file @
3746d7d9
...
@@ -6,7 +6,7 @@ import { findData } from '../utils/sample-api'
...
@@ -6,7 +6,7 @@ import { findData } from '../utils/sample-api'
import
ListDetail
from
'../components/ListDetail'
;
import
ListDetail
from
'../components/ListDetail'
;
type
RequestQuery
=
{
type
RequestQuery
=
{
id
:
number
,
id
:
string
,
}
}
type
Props
=
{
type
Props
=
{
...
...
examples/with-typescript/tsconfig.json
View file @
3746d7d9
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
"moduleResolution"
:
"node"
,
"moduleResolution"
:
"node"
,
"allowJs"
:
true
,
"allowJs"
:
true
,
"noEmit"
:
true
,
"noEmit"
:
true
,
"strict"
:
true
,
"allowSyntheticDefaultImports"
:
true
,
"allowSyntheticDefaultImports"
:
true
,
"skipLibCheck"
:
true
,
"skipLibCheck"
:
true
,
"noUnusedLocals"
:
true
,
"noUnusedLocals"
:
true
,
...
...
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