Update typescript example (#7684)
This commit is contained in:
parent
44d8c624f4
commit
830281fecd
2 changed files with 5 additions and 2 deletions
2
examples/with-typescript/next-env.d.ts
vendored
Normal file
2
examples/with-typescript/next-env.d.ts
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
/// <reference types="next" />
|
||||
/// <reference types="next/types/global" />
|
|
@ -8,14 +8,15 @@
|
|||
"type-check": "tsc"
|
||||
},
|
||||
"dependencies": {
|
||||
"next": "^8.1.1-canary.28",
|
||||
"next": "8.1.1-canary.61",
|
||||
"react": "^16.7.0",
|
||||
"react-dom": "^16.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^11.13.9",
|
||||
"@types/react": "^16.8.15",
|
||||
"@types/react-dom": "^16.0.11"
|
||||
"@types/react-dom": "^16.0.11",
|
||||
"typescript": "3.5.2"
|
||||
},
|
||||
"license": "ISC"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue