mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
[with-typescript] Fixed incorrect query type (#6238)
This commit is contained in:
parent
8ddf9c7f27
commit
3746d7d90b
|
@ -6,7 +6,7 @@ import { findData } from '../utils/sample-api'
|
|||
import ListDetail from '../components/ListDetail';
|
||||
|
||||
type RequestQuery = {
|
||||
id: number,
|
||||
id: string,
|
||||
}
|
||||
|
||||
type Props = {
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"moduleResolution": "node",
|
||||
"allowJs": true,
|
||||
"noEmit": true,
|
||||
"strict": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"skipLibCheck": true,
|
||||
"noUnusedLocals": true,
|
||||
|
|
Loading…
Reference in a new issue